package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. "qrcodejs2": "^0.0.2",
  12. "sass-mixins-variables": "^1.1.0",
  13. "uni-crazy-router": "0.0.31",
  14. "uni-simple-router": "^2.0.1",
  15. "uview-ui": "^1.8.4",
  16. "vconsole": "^3.4.0",
  17. "vue-cli": "^2.9.6",
  18. "vue-cropper": "^0.5.6",
  19. "vuex": "^3.6.2",
  20. "weixin-js-sdk": "^1.6.0"
  21. },
  22. "devDependencies": {
  23. "@vue/cli-plugin-babel": "^4.0.0",
  24. "@vue/cli-plugin-eslint": "^4.0.0",
  25. "@vue/cli-service": "^4.0.0",
  26. "babel-eslint": "^10.0.3",
  27. "eslint": "^5.16.0",
  28. "eslint-plugin-vue": "^5.0.0",
  29. "node-sass": "^5.0.0",
  30. "sass-loader": "^11.0.1",
  31. "vue-template-compiler": "^2.6.10"
  32. },
  33. "uni-app": {
  34. "scripts": {
  35. "test-platform": {
  36. "title": "test",
  37. "BROWSER": "Chrome",
  38. "env": {
  39. "UNI_PLATFORM": "h5",
  40. "NODE_NAME": "test"
  41. },
  42. "define": {
  43. "CUSTOM-CONST": true
  44. }
  45. },
  46. "production-platform": {
  47. "title": "production",
  48. "BROWSER": "Chrome",
  49. "env": {
  50. "UNI_PLATFORM": "h5",
  51. "NODE_NAME": "production"
  52. },
  53. "define": {
  54. "CUSTOM-CONST": true
  55. }
  56. }
  57. }
  58. }
  59. }