112 lines
3.2 KiB
JSON
112 lines
3.2 KiB
JSON
{
|
|
"name": "cos-web",
|
|
"version": "5.6.0",
|
|
"private": true,
|
|
"author": "Haijun Zhang <zhanghaijun@beyondcent.com>",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"serve": "vue-cli-service serve",
|
|
"build": "vue-cli-service build",
|
|
"lint": "vue-cli-service lint",
|
|
"fix": "vue-cli-service lint --fix",
|
|
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit",
|
|
"precommit": "lint-staged",
|
|
"upload": "node upload.js",
|
|
"deploy": "yarn build && yarn upload"
|
|
},
|
|
"dependencies": {
|
|
"@types/lodash": "^4.14.189",
|
|
"@vue/composition-api": "^1.7.1",
|
|
"axios": "^0.21.1",
|
|
"clipboard": "^2.0.6",
|
|
"cmp-echarts": "2.0.0-5.6-release",
|
|
"cmp-element": "1.0.0-5.6-release",
|
|
"cmp-graph": "1.0.0",
|
|
"cmp-graph-editor": "1.0.0-5.6-release",
|
|
"cmp-socket": "1.0.0",
|
|
"core-js": "^3.3.2",
|
|
"crypto-js": "^3.1.9-1",
|
|
"dayjs": "^1.10.4",
|
|
"element-ui": "2.13.0",
|
|
"js-cookie": "^2.2.0",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"mavon-editor": "^2.9.1",
|
|
"nprogress": "^0.2.0",
|
|
"qs": "^6.7.0",
|
|
"regenerator-runtime": "^0.13.11",
|
|
"sortablejs": "^1.8.4",
|
|
"tslib": "^2.4.1",
|
|
"url-loader": "^4.1.1",
|
|
"v-viewer": "^1.4.2",
|
|
"viewerjs": "^1.11.1",
|
|
"vue": "2.6.14",
|
|
"vue-class-component": "^7.0.2",
|
|
"vue-i18n": "^8.15.0",
|
|
"vue-property-decorator": "^8.3.0",
|
|
"vue-router": "^3.3.4",
|
|
"vue2-animate": "^1.0.4",
|
|
"vuedraggable": "^2.15.0",
|
|
"vuex": "^3.0.1",
|
|
"wangeditor": "^4.6.16"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"@types/js-cookie": "^2.2.4",
|
|
"@types/lodash-es": "^4.17.4",
|
|
"@types/nprogress": "^0.2.0",
|
|
"@types/qs": "^6.5.3",
|
|
"@typescript-eslint/eslint-plugin": "^2.18.0",
|
|
"@typescript-eslint/parser": "^2.18.0",
|
|
"@vue/cli-plugin-babel": "~4.4.1",
|
|
"@vue/cli-plugin-eslint": "~4.4.1",
|
|
"@vue/cli-plugin-router": "~4.4.1",
|
|
"@vue/cli-plugin-typescript": "~4.4.1",
|
|
"@vue/cli-plugin-vuex": "~4.4.1",
|
|
"@vue/cli-service": "~4.4.1",
|
|
"@vue/eslint-config-standard": "^5.1.0",
|
|
"@vue/eslint-config-typescript": "^5.0.1",
|
|
"babel-plugin-transform-vite-meta-glob": "^1.0.3",
|
|
"chalk": "^4.1.1",
|
|
"compress-webpack-plugin": "^1.0.6",
|
|
"cross-env": "^5.2.0",
|
|
"eslint": "^6.7.2",
|
|
"eslint-plugin-import": "^2.20.1",
|
|
"eslint-plugin-node": "^11.0.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"eslint-plugin-vue": "^6.1.2",
|
|
"husky": "^1.3.1",
|
|
"increase-memory-limit": "^1.0.6",
|
|
"lint-staged": "^8.1.5",
|
|
"ora": "^5.4.0",
|
|
"sass": "~1.32.6",
|
|
"sass-loader": "^8.0.0",
|
|
"scp2": "^0.5.0",
|
|
"svg-sprite-loader": "^6.0.2",
|
|
"typescript": "~3.9.3",
|
|
"vite": "2.4.1",
|
|
"vite-plugin-svg-icons": "^0.6.2",
|
|
"vite-plugin-vue2": "^1.5.1",
|
|
"vue-template-compiler": "2.6.14"
|
|
},
|
|
"eslintConfig": {
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,vue}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
}
|
|
}
|