package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "train-frontend",
  3. "version": "1.0.0",
  4. "description": "爱伴·AI之旅训练营小程序前端",
  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. },
  15. "devDependencies": {
  16. "@babel/core": "^7.16.0",
  17. "@babel/preset-env": "^7.16.0",
  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": "~4.5.0",
  28. "@vue/cli-service": "~4.5.0",
  29. "@vue/compiler-sfc": "2.7.16",
  30. "babel-jest": "^26.6.3",
  31. "copy-webpack-plugin": "^5.1.2",
  32. "jest": "^26.6.3",
  33. "sass": "^1.77.8",
  34. "vue": "2.7.16",
  35. "vuex": "^3.6.2"
  36. },
  37. "dependencies": {
  38. "@dcloudio/vue-cli-plugin-uni": "^2.0.2-5010420260703001",
  39. "@dcloudio/webpack-uni-mp-loader": "^2.0.2-5010520260709001",
  40. "autoprefixer": "^9.8.8",
  41. "postcss": "7.0.39",
  42. "postcss-import": "^12.0.1",
  43. "postcss-url": "^8.0.0",
  44. "regenerator-runtime": "^0.14.1",
  45. "yargs-parser": "^22.0.0"
  46. },
  47. "overrides": {
  48. "postcss": "7.0.39",
  49. "postcss-selector-parser": "5.0.0",
  50. "@vue/compiler-sfc": "2.7.16",
  51. "@vue/babel-plugin-jsx": "npm:@vue/babel-plugin-jsx@^1.1.1",
  52. "ejs": "3.1.10"
  53. }
  54. }