package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "name": "cfc-frontend",
  3. "version": "1.0.0",
  4. "description": "浠艾福小程序前端",
  5. "main": "main.js",
  6. "lazyCodeLoading": "requiredComponents",
  7. "scripts": {
  8. "test": "jest",
  9. "test:coverage": "jest --coverage",
  10. "dev:h5": "cross-env NODE_ENV=development UNI_PLATFORM=h5 UNI_INPUT_DIR=. UNI_CLI_CONTEXT=. vue-cli-service uni-serve",
  11. "build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 UNI_INPUT_DIR=. UNI_CLI_CONTEXT=. vue-cli-service uni-build",
  12. "postbuild": "node -e \"try{require('fs').unlinkSync('dist/dev/mp-weixin/custom-tab-bar/index.vue')}catch(e){};try{const c=require('./dist/dev/mp-weixin/project.config.json');c.setting=c.setting||{};c.setting.lazyCodeLoading='requiredComponents';require('fs').writeFileSync('./dist/dev/mp-weixin/project.config.json',JSON.stringify(c,null,2))}catch(e){}\""
  13. },
  14. "devDependencies": {
  15. "@babel/core": "^7.29.7",
  16. "@babel/preset-env": "^7.29.7",
  17. "@dcloudio/uni-app": "^2.0.2-5010420260703001",
  18. "@dcloudio/uni-cli-i18n": "^2.0.2-5010420260703001",
  19. "@dcloudio/uni-cli-shared": "^2.0.2-5010420260703001",
  20. "@dcloudio/uni-h5": "^2.0.2-5010420260703001",
  21. "@dcloudio/uni-i18n": "^2.0.2-5010420260703001",
  22. "@dcloudio/uni-migration": "^2.0.2-5010420260703001",
  23. "@dcloudio/uni-mp-weixin": "^2.0.2-5010420260703001",
  24. "@dcloudio/uni-template-compiler": "^2.0.2-5010420260703001",
  25. "@dcloudio/webpack-uni-pages-loader": "^2.0.2-5010420260703001",
  26. "@vue/cli-plugin-babel": "^5.0.9",
  27. "@vue/cli-service": "^5.0.9",
  28. "babel-jest": "^26.6.3",
  29. "copy-webpack-plugin": "^14.0.0",
  30. "jest": "^26.6.3",
  31. "vue": "^2.7.16",
  32. "vuex": "^3.6.2"
  33. },
  34. "dependencies": {
  35. "@dcloudio/vue-cli-plugin-uni": "^2.0.2-5000720260410001",
  36. "yargs-parser": "^22.0.0"
  37. }
  38. }