package.json 4.8 KB

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