package.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. "default-passive-events": "^2.0.0",
  56. "echarts": "^4.2.1",
  57. "element-china-area-data": "^5.0.2",
  58. "element-ui": "^2.15.9",
  59. "file-saver": "^2.0.5",
  60. "flv.js": "^1.6.2",
  61. "form-making-advanced": "^1.2.6",
  62. "html2canvas": "^1.3.2",
  63. "js-base64": "^3.7.2",
  64. "js-cookie": "2.2.0",
  65. "jszip": "^3.7.1",
  66. "lodash": "^4.17.20",
  67. "node-gyp": "^5.0.6",
  68. "nprogress": "0.2.0",
  69. "path-to-regexp": "2.4.0",
  70. "pdfjs-dist": "^2.6.347",
  71. "pdfobject": "^2.2.8",
  72. "pinyin": "^2.9.1",
  73. "qrcodejs2": "^0.0.2",
  74. "querystring": "^0.2.0",
  75. "register-service-worker": "^1.0.0",
  76. "sass-loader": "^7.1.0",
  77. "script-loader": "^0.7.2",
  78. "semver": "^7.3.7",
  79. "serialport": "^9.2.1",
  80. "sortablejs": "^1.8.4",
  81. "tinymce": "4.9.2",
  82. "url-loader": "^4.1.0",
  83. "video.js": "^7.21.1",
  84. "videojs-flvjs-es6": "^1.0.1",
  85. "vue": "2.6.10",
  86. "vue-amap": "^0.5.10",
  87. "vue-i18n": "7.3.2",
  88. "vue-pdf": "^4.2.0",
  89. "vue-print-nb": "^1.7.5",
  90. "vue-router": "3.0.2",
  91. "vue-seamless-scroll": "^1.1.17",
  92. "vue-visibility-change": "^1.2.1",
  93. "vuedraggable": "2.20.0",
  94. "vuex": "3.1.0",
  95. "web-see": "^1.1.0",
  96. "winsea-component-library": "http://maven.zthymaoyi.com/nexus/repository/npm-hosted/winsea-component-library/-/winsea-component-library-1.0.1.tgz",
  97. "winseaview": "^2.5.11",
  98. "xe-utils": "^2.3.0",
  99. "xlsx": "^0.17.4"
  100. },
  101. "devDependencies": {
  102. "@babel/core": "^7.21.4",
  103. "@babel/preset-env": "^7.21.4",
  104. "@babel/register": "7.0.0",
  105. "@pixul/node-rancher-api": "^1.4.0",
  106. "@vue/cli-plugin-babel": "3.6.0",
  107. "@vue/cli-plugin-eslint": "^3.1.5",
  108. "@vue/cli-plugin-pwa": "^3.12.1",
  109. "@vue/cli-service": "3.5.3",
  110. "autoprefixer": "^9.5.1",
  111. "babel-core": "7.0.0-bridge.0",
  112. "babel-plugin-dynamic-import-node": "^2.3.3",
  113. "chai": "^4.1.2",
  114. "classlist-polyfill": "^1.2.0",
  115. "compression-webpack-plugin": "^4.0.0",
  116. "core-js": "^2.6.10",
  117. "cross-env": "^5.2.1",
  118. "cz-conventional-changelog": "^2.1.0",
  119. "electron": "^12.0.5",
  120. "electron-builder": "^22.10.5",
  121. "electron-rebuild": "^3.2.3",
  122. "jquery": "^3.6.0",
  123. "lint-staged": "^10.2.13",
  124. "mockjs": "^1.0.1-beta3",
  125. "node-rancher-client-api": "^1.1.1",
  126. "node-sass": "^4.14.1",
  127. "patch-package": "^6.5.1",
  128. "postcss-import": "^11.1.0",
  129. "postcss-loader": "^2.0.8",
  130. "postcss-url": "^7.2.1",
  131. "postinstall-postinstall": "^2.1.0",
  132. "runjs": "^4.4.2",
  133. "sass-loader": "^7.1.0",
  134. "throttle-debounce": "1.1.0",
  135. "vue-jest": "^3.0.7",
  136. "vue-lazyload": "^1.3.3",
  137. "vue-template-compiler": "2.6.10"
  138. },
  139. "config": {
  140. "commitizen": {
  141. "path": "./node_modules/cz-conventional-changelog"
  142. }
  143. },
  144. "engines": {
  145. "node": ">=8.9",
  146. "npm": ">= 3.0.0"
  147. },
  148. "browserslist": [
  149. "> 1%",
  150. "last 2 versions",
  151. "not ie <= 8"
  152. ],
  153. "husky": {
  154. "hooks": {
  155. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
  156. "pre-push": "npm run lint",
  157. "pre-commit": "lint-staged"
  158. }
  159. },
  160. "lint-staged": {
  161. "*.js": [
  162. "vue-cli-service lint",
  163. "prettier --write",
  164. "git add"
  165. ],
  166. "*.vue": [
  167. "vue-cli-service lint",
  168. "prettier --write",
  169. "git add"
  170. ]
  171. },
  172. "files": [
  173. "dist"
  174. ]
  175. }