package.json 1.1 KB

1234567891011121314151617181920212223242526
  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 vue-cli-service uni-dev:h5",
  11. "build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build:h5",
  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. "babel-jest": "^26.6.3",
  18. "jest": "^26.6.3",
  19. "vue": "^2.7.16",
  20. "vuex": "^3.6.2"
  21. },
  22. "dependencies": {
  23. "@dcloudio/vue-cli-plugin-uni": "^2.0.2-5000720260410001",
  24. "yargs-parser": "^22.0.0"
  25. }
  26. }