package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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": {
  37. "title": "test",
  38. "BROWSER": "Chrome",
  39. "env": {
  40. "UNI_PLATFORM": "h5",
  41. "NODE_NAME": "test",
  42. "branchParameter":"51team",
  43. "envjs":""
  44. },
  45. "define": {
  46. "CUSTOM-CONST": true,
  47. "NODE_NAME_T": "test-TEAM51"
  48. }
  49. },
  50. "production-platform": {
  51. "title": "production",
  52. "BROWSER": "Chrome",
  53. "env": {
  54. "UNI_PLATFORM": "h5",
  55. "NODE_NAME": "production",
  56. "branchParameter":"51team",
  57. "envjs":""
  58. },
  59. "define": {
  60. "CUSTOM-CONST": true,
  61. "NODE_NAME_T": "production-TEAM51"
  62. }
  63. },
  64. "test-platform-youdian": {
  65. "title": "test-youdian",
  66. "BROWSER": "Chrome",
  67. "env": {
  68. "UNI_PLATFORM": "h5",
  69. "NODE_NAME": "test",
  70. "branchParameter":"youdian",
  71. "envjs":".ud"
  72. },
  73. "define": {
  74. "CUSTOM-CONST": true,
  75. "NODE_NAME_T": "test-mobile-charging-car"
  76. }
  77. },
  78. "production-platform-youdian": {
  79. "title": "production-youdian",
  80. "BROWSER": "Chrome",
  81. "env": {
  82. "UNI_PLATFORM": "h5",
  83. "NODE_NAME": "production",
  84. "branchParameter":"youdian",
  85. "envjs":".ud"
  86. },
  87. "define": {
  88. "CUSTOM-CONST": true,
  89. "NODE_NAME_T": "production-mobile-charging-car"
  90. }
  91. }
  92. }
  93. }
  94. }