package.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "name": "xsdj-app-tt",
  3. "version": "0.1.0",
  4. "private": true,
  5. "scripts": {
  6. "serve": "npm run dev:h5",
  7. "build": "npm run build:custom zheliban",
  8. "build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build",
  9. "build:custom": "cross-env UNI_OUTPUT_DIR=build NODE_ENV=production uniapp-cli custom",
  10. "build:h5": "cross-env UNI_OUTPUT_DIR=build NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build",
  11. "build:mp-360": "cross-env NODE_ENV=production UNI_PLATFORM=mp-360 vue-cli-service uni-build",
  12. "build:mp-alipay": "cross-env NODE_ENV=production UNI_PLATFORM=mp-alipay vue-cli-service uni-build",
  13. "build:mp-baidu": "cross-env NODE_ENV=production UNI_PLATFORM=mp-baidu vue-cli-service uni-build",
  14. "build:mp-kuaishou": "cross-env NODE_ENV=production UNI_PLATFORM=mp-kuaishou vue-cli-service uni-build",
  15. "build:mp-qq": "cross-env NODE_ENV=production UNI_PLATFORM=mp-qq vue-cli-service uni-build",
  16. "build:mp-toutiao": "cross-env NODE_ENV=production UNI_PLATFORM=mp-toutiao vue-cli-service uni-build",
  17. "build:mp-weixin": "cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build",
  18. "build:quickapp-native": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-native vue-cli-service uni-build",
  19. "build:quickapp-webview": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview vue-cli-service uni-build",
  20. "build:quickapp-webview-huawei": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-huawei vue-cli-service uni-build",
  21. "build:quickapp-webview-union": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-union vue-cli-service uni-build",
  22. "dev:app-plus": "cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch",
  23. "dev:custom": "cross-env NODE_ENV=development uniapp-cli custom",
  24. "dev:h5": "cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve",
  25. "dev:mp-360": "cross-env NODE_ENV=development UNI_PLATFORM=mp-360 vue-cli-service uni-build --watch",
  26. "dev:mp-alipay": "cross-env NODE_ENV=development UNI_PLATFORM=mp-alipay vue-cli-service uni-build --watch",
  27. "dev:mp-baidu": "cross-env NODE_ENV=development UNI_PLATFORM=mp-baidu vue-cli-service uni-build --watch",
  28. "dev:mp-kuaishou": "cross-env NODE_ENV=development UNI_PLATFORM=mp-kuaishou vue-cli-service uni-build --watch",
  29. "dev:mp-qq": "cross-env NODE_ENV=development UNI_PLATFORM=mp-qq vue-cli-service uni-build --watch",
  30. "dev:mp-toutiao": "cross-env NODE_ENV=development UNI_PLATFORM=mp-toutiao vue-cli-service uni-build --watch",
  31. "dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch",
  32. "dev:quickapp-native": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-native vue-cli-service uni-build --watch",
  33. "dev:quickapp-webview": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-webview vue-cli-service uni-build --watch",
  34. "dev:quickapp-webview-huawei": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-webview-huawei vue-cli-service uni-build --watch",
  35. "dev:quickapp-webview-union": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-webview-union vue-cli-service uni-build --watch",
  36. "info": "node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js",
  37. "serve:quickapp-native": "node node_modules/@dcloudio/uni-quickapp-native/bin/serve.js",
  38. "test:android": "cross-env UNI_PLATFORM=app-plus UNI_OS_NAME=android jest -i",
  39. "test:h5": "cross-env UNI_PLATFORM=h5 jest -i",
  40. "test:ios": "cross-env UNI_PLATFORM=app-plus UNI_OS_NAME=ios jest -i",
  41. "test:mp-baidu": "cross-env UNI_PLATFORM=mp-baidu jest -i",
  42. "test:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin jest -i"
  43. },
  44. "dependencies": {
  45. "@dcloudio/uni-app-plus": "^2.0.0-32220210818001",
  46. "@dcloudio/uni-h5": "^2.0.0-32220210818001",
  47. "@dcloudio/uni-helper-json": "*",
  48. "@dcloudio/uni-i18n": "^2.0.0-32220210818001",
  49. "@dcloudio/uni-mp-360": "^2.0.0-32220210818001",
  50. "@dcloudio/uni-mp-alipay": "^2.0.0-32220210818001",
  51. "@dcloudio/uni-mp-baidu": "^2.0.0-32220210818001",
  52. "@dcloudio/uni-mp-kuaishou": "^2.0.0-32220210818001",
  53. "@dcloudio/uni-mp-qq": "^2.0.0-32220210818001",
  54. "@dcloudio/uni-mp-toutiao": "^2.0.0-32220210818001",
  55. "@dcloudio/uni-mp-vue": "^2.0.0-32220210818001",
  56. "@dcloudio/uni-mp-weixin": "^2.0.0-32220210818001",
  57. "@dcloudio/uni-quickapp-native": "^2.0.0-32220210818001",
  58. "@dcloudio/uni-quickapp-webview": "^2.0.0-32220210818001",
  59. "@dcloudio/uni-stat": "^2.0.0-32220210818001",
  60. "@vue/shared": "^3.0.0",
  61. "core-js": "^3.6.5",
  62. "flyio": "^0.6.2",
  63. "regenerator-runtime": "^0.12.1",
  64. "uview-ui": "^1.8.4",
  65. "vue": "^2.6.11",
  66. "vuex": "^3.6.2"
  67. },
  68. "devDependencies": {
  69. "@babel/runtime": "~7.12.0",
  70. "@dcloudio/types": "*",
  71. "@dcloudio/uni-automator": "^2.0.0-32220210818001",
  72. "@dcloudio/uni-cli-shared": "^2.0.0-32220210818001",
  73. "@dcloudio/uni-migration": "^2.0.0-32220210818001",
  74. "@dcloudio/uni-template-compiler": "^2.0.0-32220210818001",
  75. "@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.0-32220210818001",
  76. "@dcloudio/vue-cli-plugin-uni": "^2.0.0-32220210818001",
  77. "@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.0-32220210818001",
  78. "@dcloudio/webpack-uni-mp-loader": "^2.0.0-32220210818001",
  79. "@dcloudio/webpack-uni-pages-loader": "^2.0.0-32220210818001",
  80. "@vue/cli-plugin-babel": "~4.5.0",
  81. "@vue/cli-service": "~4.5.0",
  82. "babel-plugin-import": "^1.11.0",
  83. "cross-env": "^7.0.2",
  84. "jest": "^25.4.0",
  85. "mini-types": "*",
  86. "miniprogram-api-typings": "*",
  87. "node-sass": "^4.12.0",
  88. "postcss-comment": "^2.0.0",
  89. "sass-loader": "^8.0.2",
  90. "vue-template-compiler": "^2.6.11"
  91. },
  92. "browserslist": [
  93. "Android >= 4",
  94. "ios >= 8"
  95. ],
  96. "uni-app": {
  97. "scripts": {
  98. "zheliban": {
  99. "title": "浙里办微应用",
  100. "BROWSER": "",
  101. "env": {
  102. "UNI_PLATFORM": "h5"
  103. },
  104. "define": {
  105. "ZHELIBAN-PLATFORM": true
  106. }
  107. }
  108. }
  109. }
  110. }