package.json 1.0 KB

12345678910111213141516171819202122232425
  1. {
  2. "name": "cfc-frontend",
  3. "version": "1.0.0",
  4. "description": "浠艾福小程序前端",
  5. "main": "main.js",
  6. "scripts": {
  7. "test": "jest",
  8. "test:coverage": "jest --coverage",
  9. "dev:h5": "cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-dev:h5",
  10. "build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build:h5",
  11. "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){}\""
  12. },
  13. "devDependencies": {
  14. "@babel/core": "^7.29.7",
  15. "@babel/preset-env": "^7.29.7",
  16. "babel-jest": "^26.6.3",
  17. "jest": "^26.6.3",
  18. "vue": "^2.7.16",
  19. "vuex": "^3.6.2"
  20. },
  21. "dependencies": {
  22. "@dcloudio/vue-cli-plugin-uni": "^2.0.2-5000720260410001",
  23. "yargs-parser": "^22.0.0"
  24. }
  25. }