package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "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){}\""
  14. },
  15. "devDependencies": {
  16. "@babel/core": "^7.29.7",
  17. "@babel/preset-env": "^7.29.7",
  18. "@dcloudio/uni-app": "^2.0.2-5010420260703001",
  19. "@dcloudio/uni-cli-i18n": "^2.0.2-5010420260703001",
  20. "@dcloudio/uni-cli-shared": "^2.0.2-5010420260703001",
  21. "@dcloudio/uni-h5": "^2.0.2-5010420260703001",
  22. "@dcloudio/uni-i18n": "^2.0.2-5010420260703001",
  23. "@dcloudio/uni-migration": "^2.0.2-5010420260703001",
  24. "@dcloudio/uni-mp-weixin": "^2.0.2-5010420260703001",
  25. "@dcloudio/uni-template-compiler": "^2.0.2-5010420260703001",
  26. "@dcloudio/webpack-uni-pages-loader": "^2.0.2-5010420260703001",
  27. "@vue/cli-plugin-babel": "^5.0.9",
  28. "@vue/cli-service": "^5.0.9",
  29. "@vue/compiler-sfc": "2.7.16",
  30. "babel-jest": "^26.6.3",
  31. "copy-webpack-plugin": "^14.0.0",
  32. "jest": "^26.6.3",
  33. "vue": "2.7.16",
  34. "vuex": "^3.6.2",
  35. "yalc": "^1.0.0-pre.53"
  36. },
  37. "dependencies": {
  38. "@dcloudio/vue-cli-plugin-uni": "^2.0.2-5000720260410001",
  39. "@dcloudio/webpack-uni-mp-loader": "^2.0.2-5010520260709001",
  40. "regenerator-runtime": "^0.14.1",
  41. "yargs-parser": "^22.0.0"
  42. },
  43. "overrides": {
  44. "@vue/compiler-sfc": "2.7.16",
  45. "@vue/babel-plugin-jsx": "npm:@vue/babel-plugin-jsx@^1.1.1"
  46. }
  47. }