package.json 1.5 KB

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