package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "scripts": {
  3. "test:h5": "cross-env UNI_PLATFORM=h5 jest -i",
  4. "serve": "vue-cli-service serve",
  5. "build": "vue-cli-service build",
  6. "test": "vue-cli-service build --mode test"
  7. },
  8. "dependencies": {
  9. "compression-webpack-plugin": "^8.0.1",
  10. "echarts": "^5.3.2",
  11. "uni-crazy-router": "0.0.31",
  12. "uni-simple-router": "^2.0.1",
  13. "uview-ui": "^1.8.4",
  14. "vconsole": "^3.4.0",
  15. "vue-cli": "^2.9.6",
  16. "vue-cropper": "^0.5.6",
  17. "vuex": "^3.6.2",
  18. "weixin-js-sdk": "^1.6.0"
  19. },
  20. "devDependencies": {
  21. "@vue/cli-plugin-babel": "^4.0.0",
  22. "@vue/cli-plugin-eslint": "^4.0.0",
  23. "@vue/cli-service": "^4.0.0",
  24. "babel-eslint": "^10.0.3",
  25. "eslint": "^5.16.0",
  26. "eslint-plugin-vue": "^5.0.0",
  27. "node-sass": "^5.0.0",
  28. "sass-loader": "^11.0.1",
  29. "vue-template-compiler": "^2.6.10"
  30. },
  31. "uni-app": {
  32. "scripts": {
  33. "test-platform": {
  34. "title": "test",
  35. "BROWSER": "Chrome",
  36. "env": {
  37. "UNI_PLATFORM": "h5",
  38. "NODE_NAME": "test"
  39. },
  40. "define": {
  41. "CUSTOM-CONST": true
  42. }
  43. },
  44. "production-platform": {
  45. "title": "production",
  46. "BROWSER": "Chrome",
  47. "env": {
  48. "UNI_PLATFORM": "h5",
  49. "NODE_NAME": "production"
  50. },
  51. "define": {
  52. "CUSTOM-CONST": true
  53. }
  54. }
  55. }
  56. }
  57. }