package.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. {
  2. "name": "component-source-develop-template",
  3. "version": "1.0.0",
  4. "description": "Vue2 项目基于 webpack 构建",
  5. "main": "src/main.js",
  6. "scripts": {
  7. "dev": "node --max-old-space-size=8192 scripts/dev.js",
  8. "dev:simple": "webpack serve --config webpack.config.js",
  9. "dev:direct": "cross-env NODE_ENV=development webpack serve --config webpack.config.js --host 0.0.0.0 --port 3000",
  10. "dev:ultra-quiet": "node scripts/dev.js --ultra-quiet",
  11. "build": "cross-env NODE_ENV=production node --max-old-space-size=8192 node_modules/.bin/webpack --mode production",
  12. "build:win": "cross-env NODE_ENV=production node --max-old-space-size=8192 ./node_modules/webpack/bin/webpack.js --mode production",
  13. "build:analyze": "cross-env NODE_ENV=production BUNDLE_ANALYZE=true webpack --config webpack.config.js",
  14. "analyze": "node scripts/analyze.js",
  15. "analyze:install": "npm install --save-dev webpack-bundle-analyzer",
  16. "preview": "npm run build && npx serve dist",
  17. "performance": "npm run build && npm run analyze",
  18. "lint": "eslint src --ext .js,.vue --fix",
  19. "lint:style": "stylelint 'src/**/*.{vue,scss,css}' --fix",
  20. "format": "prettier --write 'src/**/*.{js,vue,scss,css,html}'",
  21. "prepare": "husky install",
  22. "commit": "git-cz"
  23. },
  24. "keywords": [],
  25. "author": "",
  26. "license": "ISC",
  27. "overrides": {
  28. "webworkify-webpack": "^2.1.5"
  29. },
  30. "dependencies": {
  31. "@ct/audio-stream": "^1.0.0",
  32. "@ct/component-gallery-intelligent-middle": "1.0.8",
  33. "@ct/component-gallery-theme-chalk": "^1.0.20",
  34. "@ct/component-gallery-video-player-listener": "1.7.10",
  35. "@ct/ct_map_ol": "3.6.11",
  36. "@ct/icons-v2": "^1.2.43",
  37. "@ct/iframe-connect-sdk": "1.0.18",
  38. "@ct/remote-page-loader": "^1.0.15",
  39. "@ct/remote-page-sync-loader": "^0.0.1",
  40. "@ct/shout-stream": "1.0.8",
  41. "@microsoft/fetch-event-source": "^2.0.1",
  42. "@riophae/vue-treeselect": "0.4.0",
  43. "@vue/composition-api": "^1.7.2",
  44. "@wchbrad/vue-easy-tree": "^1.0.12",
  45. "artplayer": "^5.1.7",
  46. "axios": "^1.9.0",
  47. "classnames": "^2.5.1",
  48. "color-string": "^1.9.1",
  49. "crypto-js": "^4.2.0",
  50. "date-fns": "1.30.1",
  51. "dayjs": "^1.11.13",
  52. "docx-preview": "0.3.0",
  53. "echarts": "5.5.0",
  54. "element-resize-detector": "^1.2.4",
  55. "element-ui": "^2.15.14",
  56. "fabric": "^4.5.1",
  57. "file-loader": "^6.2.0",
  58. "file-saver": "^2.0.2",
  59. "g": "^2.0.1",
  60. "g711": "^1.0.1",
  61. "hls.js": "1.6.0-beta.1",
  62. "immer": "^10.0.3",
  63. "jquery": "^3.7.1",
  64. "jsts": "2.3.0",
  65. "jszip": "^3.10.1",
  66. "lodash-es": "^4.17.21",
  67. "marked": "^14.1.2",
  68. "moment": "^2.30.1",
  69. "mpegts.js": "^1.7.3",
  70. "node-polyfill-webpack-plugin": "^3.0.0",
  71. "pinyin-pro": "^3.20.4",
  72. "popper.js": "^1.16.1",
  73. "screenfull": "^4.2.0",
  74. "socket.io-client": "4.8.0",
  75. "util": "^0.12.5",
  76. "uuid": "^10.0.0",
  77. "vue": "^2.7.16",
  78. "vue-amap": "0.5.10",
  79. "vue-clipboard2": "^0.3.3",
  80. "vue-resizable": "^1.1.3",
  81. "vue-router": "^3.6.5",
  82. "vue-video-player": "5.0.2",
  83. "vuedraggable": "^2.24.3"
  84. },
  85. "devDependencies": {
  86. "@babel/core": "^7.27.7",
  87. "@babel/eslint-parser": "^7.12.16",
  88. "@babel/plugin-proposal-class-properties": "^7.18.6",
  89. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
  90. "@babel/plugin-proposal-optional-chaining": "^7.21.0",
  91. "@babel/preset-env": "^7.26.0",
  92. "@changesets/cli": "^2.27.11",
  93. "@commitlint/cli": "~17.0.3",
  94. "@commitlint/config-conventional": "~17.0.3",
  95. "@ls-lint/ls-lint": "~1.11.2",
  96. "@types/node": "^22.15.1",
  97. "@types/sass": "1.45.0",
  98. "@typescript-eslint/eslint-plugin": "~5.51.0",
  99. "@typescript-eslint/parser": "^6.19.1",
  100. "@vue/cli-plugin-babel": "~5.0.8",
  101. "@vue/cli-plugin-eslint": "~5.0.0",
  102. "@vue/cli-service": "~5.0.0",
  103. "@vue/eslint-config-typescript": "~10.0.0",
  104. "@vue/preload-webpack-plugin": "^2.0.0",
  105. "@vue/vue2-jest": "^29.2.6",
  106. "async-validator": "^4.2.5",
  107. "babel-jest": "^29.7.0",
  108. "babel-loader": "^9.2.1",
  109. "babel-plugin-component": "^1.1.1",
  110. "babel-plugin-import": "^1.13.8",
  111. "buffer": "^6.0.3",
  112. "chalk": "^4.1.0",
  113. "code-inspector-plugin": "^0.16.1",
  114. "compression-webpack-plugin": "^11.1.0",
  115. "copy-webpack-plugin": "^12.0.2",
  116. "core-js": "^3.8.3",
  117. "cross-env": "^7.0.3",
  118. "css-loader": "^7.1.2",
  119. "css-minimizer-webpack-plugin": "^7.0.0",
  120. "eslint": "^7.32.0",
  121. "eslint-config-prettier": "~8.3.0",
  122. "eslint-plugin-prettier": "~4.0.0",
  123. "eslint-plugin-vue": "~8.7.1",
  124. "globby": "^11.1.0",
  125. "html-webpack-plugin": "^5.6.3",
  126. "husky": "^8.0.0",
  127. "jest": "^29.7.0",
  128. "lint-staged": "~12.5.0",
  129. "mediainfo.js": "^0.3.3",
  130. "mini-css-extract-plugin": "^2.9.2",
  131. "mp4box": "^0.5.3",
  132. "ora": "^5.1.0",
  133. "path-browserify": "^1.0.1",
  134. "postcss": "^8.5.1",
  135. "postcss-html": "^1.6.0",
  136. "postcss-loader": "^8.1.1",
  137. "postcss-pxtorem": "^6.1.0",
  138. "postcss-scss": "^4.0.9",
  139. "postcss-url": "^10.1.3",
  140. "prettier": "~2.7.1",
  141. "process": "^0.11.10",
  142. "resolve-url-loader": "^5.0.0",
  143. "sass": "^1.81.0",
  144. "sass-loader": "^16.0.3",
  145. "script-ext-html-webpack-plugin": "^2.1.5",
  146. "shelljs": "^0.8.4",
  147. "style-loader": "^4.0.0",
  148. "stylelint": "16.2.0",
  149. "stylelint-config-prettier-scss": "^1.0.0",
  150. "stylelint-config-standard": "^36.0.0",
  151. "stylelint-config-standard-scss": "^13.0.0",
  152. "stylelint-config-standard-vue": "^1.0.0",
  153. "stylelint-order": "^6.0.4",
  154. "stylelint-scss": "^6.1.0",
  155. "sucrase": "^3.35.0",
  156. "terser-webpack-plugin": "^5.3.11",
  157. "throttle-debounce": "1.0.1",
  158. "typescript": "5.5.4",
  159. "url-loader": "^4.1.1",
  160. "vue-jest": "^3.0.7",
  161. "vue-loader": "^15.11.1",
  162. "vue-style-loader": "^4.1.3",
  163. "vue-template-compiler": "^2.7.16",
  164. "webpack": "^5.96.1",
  165. "webpack-cli": "^5.1.4",
  166. "webpack-dev-server": "^5.1.0"
  167. },
  168. "engines": {
  169. "node": ">=16.0.0"
  170. },
  171. "browserslist": [
  172. "> 1%",
  173. "last 2 versions",
  174. "not dead"
  175. ],
  176. "jest": {
  177. "transform": {
  178. "^.+\\.vue$": "@vue/vue2-jest",
  179. "^.+\\.js$": "babel-jest"
  180. },
  181. "moduleFileExtensions": [
  182. "js",
  183. "vue"
  184. ],
  185. "testMatch": [
  186. "**/tests/**/*.spec.js"
  187. ],
  188. "testURL": "http://localhost/"
  189. }
  190. }