package.json 4.5 KB

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