|
@@ -0,0 +1,188 @@
|
|
|
+{
|
|
|
+ "name": "component-source-develop-template",
|
|
|
+ "version": "1.0.0",
|
|
|
+ "description": "Vue2 项目基于 webpack 构建",
|
|
|
+ "main": "src/main.js",
|
|
|
+ "scripts": {
|
|
|
+ "dev": "node --max-old-space-size=8192 scripts/dev.js",
|
|
|
+ "dev:simple": "webpack serve --config webpack.config.js",
|
|
|
+ "dev:direct": "cross-env NODE_ENV=development webpack serve --config webpack.config.js --host 0.0.0.0 --port 3000",
|
|
|
+ "dev:ultra-quiet": "node scripts/dev.js --ultra-quiet",
|
|
|
+ "build-zzf": "cross-env NODE_ENV=production node --max-old-space-size=8192 node_modules/webpack/bin/webpack.js --mode production",
|
|
|
+ "build": "cross-env NODE_ENV=production npx --node-options=\"--max-old-space-size=8192\" webpack --mode production",
|
|
|
+ "build:analyze": "cross-env NODE_ENV=production BUNDLE_ANALYZE=true webpack --config webpack.config.js",
|
|
|
+ "analyze": "node scripts/analyze.js",
|
|
|
+ "analyze:install": "npm install --save-dev webpack-bundle-analyzer",
|
|
|
+ "preview": "npm run build && npx serve dist",
|
|
|
+ "performance": "npm run build && npm run analyze",
|
|
|
+ "lint": "eslint src --ext .js,.vue --fix",
|
|
|
+ "lint:style": "stylelint 'src/**/*.{vue,scss,css}' --fix",
|
|
|
+ "format": "prettier --write 'src/**/*.{js,vue,scss,css,html}'",
|
|
|
+ "commit": "git-cz"
|
|
|
+ },
|
|
|
+ "keywords": [],
|
|
|
+ "author": "",
|
|
|
+ "license": "ISC",
|
|
|
+ "overrides": {
|
|
|
+ "webworkify-webpack": "^2.1.5"
|
|
|
+ },
|
|
|
+ "dependencies": {
|
|
|
+ "@ct/audio-stream": "^1.0.0",
|
|
|
+ "@ct/component-gallery-intelligent-middle": "1.0.8",
|
|
|
+ "@ct/component-gallery-theme-chalk": "^1.0.20",
|
|
|
+ "@ct/component-gallery-video-player-listener": "1.7.10",
|
|
|
+ "@ct/ct_map_ol": "3.6.11",
|
|
|
+ "@ct/icons-v2": "^1.2.43",
|
|
|
+ "@ct/iframe-connect-sdk": "1.0.18",
|
|
|
+ "@ct/remote-page-loader": "^1.0.15",
|
|
|
+ "@ct/remote-page-sync-loader": "^0.0.1",
|
|
|
+ "@ct/shout-stream": "1.0.8",
|
|
|
+ "@microsoft/fetch-event-source": "^2.0.1",
|
|
|
+ "@riophae/vue-treeselect": "0.4.0",
|
|
|
+ "@vue/composition-api": "^1.7.2",
|
|
|
+ "@wchbrad/vue-easy-tree": "^1.0.12",
|
|
|
+ "artplayer": "^5.1.7",
|
|
|
+ "axios": "^1.9.0",
|
|
|
+ "classnames": "^2.5.1",
|
|
|
+ "color-string": "^1.9.1",
|
|
|
+ "crypto-js": "^4.2.0",
|
|
|
+ "date-fns": "1.30.1",
|
|
|
+ "dayjs": "^1.11.13",
|
|
|
+ "docx-preview": "0.3.0",
|
|
|
+ "echarts": "5.5.0",
|
|
|
+ "element-resize-detector": "^1.2.4",
|
|
|
+ "element-ui": "^2.15.14",
|
|
|
+ "fabric": "^4.5.1",
|
|
|
+ "file-loader": "^6.2.0",
|
|
|
+ "file-saver": "^2.0.2",
|
|
|
+ "g": "^2.0.1",
|
|
|
+ "g711": "^1.0.1",
|
|
|
+ "hls.js": "1.6.0-beta.1",
|
|
|
+ "immer": "^10.0.3",
|
|
|
+ "jquery": "^3.7.1",
|
|
|
+ "jsts": "2.3.0",
|
|
|
+ "jszip": "^3.10.1",
|
|
|
+ "lodash-es": "^4.17.21",
|
|
|
+ "marked": "^14.1.2",
|
|
|
+ "moment": "^2.30.1",
|
|
|
+ "mpegts.js": "^1.7.3",
|
|
|
+ "node-polyfill-webpack-plugin": "^3.0.0",
|
|
|
+ "pinyin-pro": "^3.20.4",
|
|
|
+ "popper.js": "^1.16.1",
|
|
|
+ "screenfull": "^4.2.0",
|
|
|
+ "socket.io-client": "4.8.0",
|
|
|
+ "util": "^0.12.5",
|
|
|
+ "uuid": "^10.0.0",
|
|
|
+ "vue": "^2.7.16",
|
|
|
+ "vue-amap": "0.5.10",
|
|
|
+ "vue-clipboard2": "^0.3.3",
|
|
|
+ "vue-resizable": "^1.1.3",
|
|
|
+ "vue-router": "^3.6.5",
|
|
|
+ "vue-video-player": "5.0.2",
|
|
|
+ "vuedraggable": "^2.24.3"
|
|
|
+ },
|
|
|
+ "devDependencies": {
|
|
|
+ "@babel/core": "^7.27.7",
|
|
|
+ "@babel/eslint-parser": "^7.12.16",
|
|
|
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
|
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
|
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
|
|
+ "@babel/preset-env": "^7.26.0",
|
|
|
+ "@changesets/cli": "^2.27.11",
|
|
|
+ "@commitlint/cli": "~17.0.3",
|
|
|
+ "@commitlint/config-conventional": "~17.0.3",
|
|
|
+ "@ls-lint/ls-lint": "~1.11.2",
|
|
|
+ "@types/node": "^22.15.1",
|
|
|
+ "@types/sass": "1.45.0",
|
|
|
+ "@typescript-eslint/eslint-plugin": "~5.51.0",
|
|
|
+ "@typescript-eslint/parser": "^6.19.1",
|
|
|
+ "@vue/cli-plugin-babel": "~5.0.8",
|
|
|
+ "@vue/cli-plugin-eslint": "~5.0.0",
|
|
|
+ "@vue/cli-service": "~5.0.0",
|
|
|
+ "@vue/eslint-config-typescript": "~10.0.0",
|
|
|
+ "@vue/preload-webpack-plugin": "^2.0.0",
|
|
|
+ "@vue/vue2-jest": "^29.2.6",
|
|
|
+ "async-validator": "^4.2.5",
|
|
|
+ "babel-jest": "^29.7.0",
|
|
|
+ "babel-loader": "^9.2.1",
|
|
|
+ "babel-plugin-component": "^1.1.1",
|
|
|
+ "babel-plugin-import": "^1.13.8",
|
|
|
+ "buffer": "^6.0.3",
|
|
|
+ "chalk": "^4.1.0",
|
|
|
+ "code-inspector-plugin": "^0.16.1",
|
|
|
+ "compression-webpack-plugin": "^11.1.0",
|
|
|
+ "copy-webpack-plugin": "^12.0.2",
|
|
|
+ "core-js": "^3.8.3",
|
|
|
+ "cross-env": "^7.0.3",
|
|
|
+ "css-loader": "^7.1.2",
|
|
|
+ "css-minimizer-webpack-plugin": "^7.0.0",
|
|
|
+ "eslint": "^7.32.0",
|
|
|
+ "eslint-config-prettier": "~8.3.0",
|
|
|
+ "eslint-plugin-prettier": "~4.0.0",
|
|
|
+ "eslint-plugin-vue": "~8.7.1",
|
|
|
+ "globby": "^11.1.0",
|
|
|
+ "html-webpack-plugin": "^5.6.3",
|
|
|
+ "jest": "^29.7.0",
|
|
|
+ "lint-staged": "~12.5.0",
|
|
|
+ "mediainfo.js": "^0.3.3",
|
|
|
+ "mini-css-extract-plugin": "^2.9.2",
|
|
|
+ "mp4box": "^0.5.3",
|
|
|
+ "ora": "^5.1.0",
|
|
|
+ "path-browserify": "^1.0.1",
|
|
|
+ "postcss": "^8.5.1",
|
|
|
+ "postcss-html": "^1.6.0",
|
|
|
+ "postcss-loader": "^8.1.1",
|
|
|
+ "postcss-pxtorem": "^6.1.0",
|
|
|
+ "postcss-scss": "^4.0.9",
|
|
|
+ "postcss-url": "^10.1.3",
|
|
|
+ "prettier": "~2.7.1",
|
|
|
+ "process": "^0.11.10",
|
|
|
+ "resolve-url-loader": "^5.0.0",
|
|
|
+ "sass": "^1.81.0",
|
|
|
+ "sass-loader": "^16.0.3",
|
|
|
+ "script-ext-html-webpack-plugin": "^2.1.5",
|
|
|
+ "shelljs": "^0.8.4",
|
|
|
+ "style-loader": "^4.0.0",
|
|
|
+ "stylelint": "16.2.0",
|
|
|
+ "stylelint-config-prettier-scss": "^1.0.0",
|
|
|
+ "stylelint-config-standard": "^36.0.0",
|
|
|
+ "stylelint-config-standard-scss": "^13.0.0",
|
|
|
+ "stylelint-config-standard-vue": "^1.0.0",
|
|
|
+ "stylelint-order": "^6.0.4",
|
|
|
+ "stylelint-scss": "^6.1.0",
|
|
|
+ "sucrase": "^3.35.0",
|
|
|
+ "terser-webpack-plugin": "^5.3.11",
|
|
|
+ "throttle-debounce": "1.0.1",
|
|
|
+ "typescript": "5.5.4",
|
|
|
+ "url-loader": "^4.1.1",
|
|
|
+ "vue-jest": "^3.0.7",
|
|
|
+ "vue-loader": "^15.11.1",
|
|
|
+ "vue-style-loader": "^4.1.3",
|
|
|
+ "vue-template-compiler": "^2.7.16",
|
|
|
+ "webpack": "^5.96.1",
|
|
|
+ "webpack-cli": "^5.1.4",
|
|
|
+ "webpack-dev-server": "^5.1.0"
|
|
|
+ },
|
|
|
+ "engines": {
|
|
|
+ "node": ">=16.0.0"
|
|
|
+ },
|
|
|
+ "browserslist": [
|
|
|
+ "> 1%",
|
|
|
+ "last 2 versions",
|
|
|
+ "not dead"
|
|
|
+ ],
|
|
|
+ "jest": {
|
|
|
+ "transform": {
|
|
|
+ "^.+\\.vue$": "@vue/vue2-jest",
|
|
|
+ "^.+\\.js$": "babel-jest"
|
|
|
+ },
|
|
|
+ "moduleFileExtensions": [
|
|
|
+ "js",
|
|
|
+ "vue"
|
|
|
+ ],
|
|
|
+ "testMatch": [
|
|
|
+ "**/tests/**/*.spec.js"
|
|
|
+ ],
|
|
|
+ "testURL": "http://localhost/"
|
|
|
+ }
|
|
|
+}
|