package.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. {
  2. "name": "@winsea-product/winsea-product-platform-front",
  3. "version": "6.6.3-2-hot",
  4. "description": "用户前台前端",
  5. "author": "中天",
  6. "main": "main.js",
  7. "build": {
  8. "appId": "com.hangge.demo",
  9. "copyright": "Copyright © 2019 hangge.com",
  10. "nsis": {
  11. "oneClick": true,
  12. "perMachine": true,
  13. "runAfterFinish": true
  14. },
  15. "files": [
  16. "dist/static",
  17. "dist/*.html",
  18. "*.js"
  19. ]
  20. },
  21. "scripts": {
  22. "dev": "vue-cli-service serve --max-old-space-size=8192",
  23. "dev:staging": "vue-cli-service serve --mode staging",
  24. "build:prod-ship": "vue-cli-service build --mode productionShip",
  25. "build": "vue-cli-service build --report",
  26. "build:prod": "vue-cli-service build --progress",
  27. "build:staging": "vue-cli-service build --mode staging --progress",
  28. "build:test": "vue-cli-service build --mode test --progress",
  29. "preview": "node build/index.js --preview",
  30. "lint": "eslint --fix --cache --ext .js,.vue src",
  31. "fix": "eslint --fix .js,.vue src",
  32. "test:unit": "vue-cli-service test:unit",
  33. "test:ci": "npm run lint && npm run test:unit",
  34. "apiDoc": "jsdoc -c jsdoc-conf.json",
  35. "update-win:winseaview": "cnpm update winseaview -S && rd/s/q .\\node_modules\\.cache",
  36. "update-win:basecorelib": "npm update base-core-lib -S && rd/s/q .\\node_modules\\.cache",
  37. "update-win:baseTemplateLib": "npm update base-template-lib -S && rd/s/q .\\node_modules\\.cache",
  38. "update-mac:base-template-lib": "npm update base-template-lib -S && rm -rf ./node_modules/.cache",
  39. "build:publish": "node bin/deploy.js",
  40. "start": "electron .",
  41. "pack": "electron-builder --dir",
  42. "dist": "electron-builder",
  43. "postinstall": "patch-package"
  44. },
  45. "dependencies": {
  46. "@amap/amap-jsapi-loader": "^1.0.1",
  47. "@babel/polyfill": "^7.12.1",
  48. "@babel/preset-env": "^7.14.4",
  49. "@jiaminghi/data-view": "^2.10.0",
  50. "axios": "^0.20.0",
  51. "babel-polyfill": "^6.26.0",
  52. "base-core-lib": "^1.3.16",
  53. "base-template-lib": "^1.0.7-beta",
  54. "countup": "^1.8.2",
  55. "decimal.js": "^10.4.3",
  56. "default-passive-events": "^2.0.0",
  57. "echarts": "^4.2.1",
  58. "element-china-area-data": "^5.0.2",
  59. "element-ui": "^2.15.9",
  60. "ezuikit-js": "^7.7.7",
  61. "file-saver": "^2.0.5",
  62. "flv.js": "^1.6.2",
  63. "form-making-advanced": "^1.2.6",
  64. "html2canvas": "^1.3.2",
  65. "js-base64": "^3.7.2",
  66. "js-cookie": "2.2.0",
  67. "jszip": "^3.7.1",
  68. "lodash": "^4.17.20",
  69. "node-gyp": "^5.0.6",
  70. "nprogress": "0.2.0",
  71. "path-to-regexp": "2.4.0",
  72. "pdfjs-dist": "^2.6.347",
  73. "pdfobject": "^2.2.8",
  74. "pinyin": "^2.9.1",
  75. "qrcodejs2": "^0.0.2",
  76. "querystring": "^0.2.0",
  77. "register-service-worker": "^1.0.0",
  78. "sass-loader": "^7.1.0",
  79. "script-loader": "^0.7.2",
  80. "semver": "^7.3.7",
  81. "serialport": "^9.2.1",
  82. "sortablejs": "^1.8.4",
  83. "tinymce": "4.9.2",
  84. "url-loader": "^4.1.0",
  85. "video.js": "^7.21.1",
  86. "videojs-flvjs-es6": "^1.0.1",
  87. "vue": "2.6.10",
  88. "vue-amap": "^0.5.10",
  89. "vue-i18n": "7.3.2",
  90. "vue-pdf": "^4.2.0",
  91. "vue-print-nb": "^1.7.5",
  92. "vue-router": "3.0.2",
  93. "vue-seamless-scroll": "^1.1.17",
  94. "vue-visibility-change": "^1.2.1",
  95. "vuedraggable": "2.20.0",
  96. "vuex": "3.1.0",
  97. "web-see": "^1.1.0",
  98. "winsea-component-library": "http://maven.zthymaoyi.com/nexus/repository/npm-hosted/winsea-component-library/-/winsea-component-library-1.0.1.tgz",
  99. "winseaview": "^2.5.11",
  100. "xe-utils": "^2.3.0",
  101. "xlsx": "^0.17.4"
  102. },
  103. "devDependencies": {
  104. "@babel/core": "^7.21.4",
  105. "@babel/preset-env": "^7.21.4",
  106. "@babel/register": "7.0.0",
  107. "@pixul/node-rancher-api": "^1.4.0",
  108. "@vue/cli-plugin-babel": "3.6.0",
  109. "@vue/cli-plugin-eslint": "^3.1.5",
  110. "@vue/cli-plugin-pwa": "^3.12.1",
  111. "@vue/cli-service": "3.5.3",
  112. "autoprefixer": "^9.5.1",
  113. "babel-core": "7.0.0-bridge.0",
  114. "babel-plugin-dynamic-import-node": "^2.3.3",
  115. "chai": "^4.1.2",
  116. "classlist-polyfill": "^1.2.0",
  117. "compression-webpack-plugin": "^4.0.0",
  118. "core-js": "^2.6.10",
  119. "cross-env": "^5.2.1",
  120. "cz-conventional-changelog": "^2.1.0",
  121. "electron": "^12.0.5",
  122. "electron-builder": "^22.10.5",
  123. "electron-rebuild": "^3.2.3",
  124. "jquery": "^3.6.0",
  125. "lint-staged": "^10.2.13",
  126. "mockjs": "^1.0.1-beta3",
  127. "node-rancher-client-api": "^1.1.1",
  128. "node-sass": "^4.14.1",
  129. "patch-package": "^6.5.1",
  130. "postcss-import": "^11.1.0",
  131. "postcss-loader": "^2.0.8",
  132. "postcss-url": "^7.2.1",
  133. "postinstall-postinstall": "^2.1.0",
  134. "runjs": "^4.4.2",
  135. "sass-loader": "^7.1.0",
  136. "throttle-debounce": "1.1.0",
  137. "vue-jest": "^3.0.7",
  138. "vue-lazyload": "^1.3.3",
  139. "vue-template-compiler": "2.6.10"
  140. },
  141. "config": {
  142. "commitizen": {
  143. "path": "./node_modules/cz-conventional-changelog"
  144. }
  145. },
  146. "engines": {
  147. "node": ">=8.9",
  148. "npm": ">= 3.0.0"
  149. },
  150. "browserslist": [
  151. "> 1%",
  152. "last 2 versions",
  153. "not ie <= 8"
  154. ],
  155. "husky": {
  156. "hooks": {
  157. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
  158. "pre-push": "npm run lint",
  159. "pre-commit": "lint-staged"
  160. }
  161. },
  162. "lint-staged": {
  163. "*.js": [
  164. "vue-cli-service lint",
  165. "prettier --write",
  166. "git add"
  167. ],
  168. "*.vue": [
  169. "vue-cli-service lint",
  170. "prettier --write",
  171. "git add"
  172. ]
  173. },
  174. "files": [
  175. "dist"
  176. ]
  177. }