package.json 5.2 KB

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