package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. "build:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin UNI_INPUT_DIR=. UNI_CLI_CONTEXT=. vue-cli-service uni-build",
  13. "postinstall": "node postinstall-fix.js",
  14. "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){}\""
  15. },
  16. "devDependencies": {
  17. "@babel/core": "^7.16.0",
  18. "@babel/preset-env": "^7.16.0",
  19. "@dcloudio/uni-app": "^2.0.2-5010420260703001",
  20. "@dcloudio/uni-cli-i18n": "^2.0.2-5010420260703001",
  21. "@dcloudio/uni-cli-shared": "^2.0.2-5010420260703001",
  22. "@dcloudio/uni-h5": "^2.0.2-5010420260703001",
  23. "@dcloudio/uni-i18n": "^2.0.2-5010420260703001",
  24. "@dcloudio/uni-migration": "^2.0.2-5010420260703001",
  25. "@dcloudio/uni-mp-weixin": "^2.0.2-5010420260703001",
  26. "@dcloudio/uni-template-compiler": "^2.0.2-5010420260703001",
  27. "@dcloudio/webpack-uni-pages-loader": "^2.0.2-5010420260703001",
  28. "@vue/cli-plugin-babel": "~4.5.0",
  29. "@vue/cli-service": "~4.5.0",
  30. "@vue/compiler-sfc": "2.7.16",
  31. "babel-jest": "^26.6.3",
  32. "copy-webpack-plugin": "^5.1.2",
  33. "jest": "^26.6.3",
  34. "node-sass": "^9.0.0",
  35. "vue": "2.7.16",
  36. "vuex": "^3.6.2",
  37. "yalc": "^1.0.0-pre.53"
  38. },
  39. "dependencies": {
  40. "@dcloudio/vue-cli-plugin-uni": "^2.0.2-5000720260410001",
  41. "@dcloudio/webpack-uni-mp-loader": "^2.0.2-5010520260709001",
  42. "postcss": "7.0.39",
  43. "regenerator-runtime": "^0.14.1",
  44. "yargs-parser": "^22.0.0"
  45. },
  46. "overrides": {
  47. "postcss": "7.0.39",
  48. "postcss-selector-parser": "5.0.0",
  49. "@vue/compiler-sfc": "2.7.16",
  50. "@vue/babel-plugin-jsx": "npm:@vue/babel-plugin-jsx@^1.1.1"
  51. }
  52. }