package.json 6.0 KB

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