113 lines
3.8 KiB
JSON
113 lines
3.8 KiB
JSON
{
|
|
"name": "cmc-web",
|
|
"version": "5.5.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",
|
|
"push-common": "git subtree push --prefix=src/common http://haijun@58.210.154.140:8888/web/cmp-common.git master --squash",
|
|
"pull-common": "git subtree push --prefix=src/common http://haijun@58.210.154.140:8888/web/cmp-common.git master --squash",
|
|
"split-common": "git subtree split --prefix=src/common",
|
|
"upload": "node upload.js",
|
|
"deploy": "yarn build && yarn upload"
|
|
},
|
|
"dependencies": {
|
|
"@vue/composition-api": "^1.7.0",
|
|
"axios": "^0.21.1",
|
|
"clipboard": "^2.0.6",
|
|
"cmp-echarts": "2.0.0",
|
|
"cmp-element": "1.0.0",
|
|
"cmp-graph": "1.0.0",
|
|
"cmp-socket": "1.0.0",
|
|
"cmp-theme": "1.0.0",
|
|
"cmp-topology": "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-es": "^4.17.21",
|
|
"mavon-editor": "^2.9.1",
|
|
"nprogress": "^0.2.0",
|
|
"qs": "^6.7.0",
|
|
"sortablejs": "^1.8.4",
|
|
"v-viewer": "^1.4.2",
|
|
"vue": "^2.6.10",
|
|
"vue-class-component": "^7.0.2",
|
|
"vue-code-diff": "^0.0.4",
|
|
"vue-core-image-upload": "2.3.10",
|
|
"vue-grid-layout": "^2.3.12",
|
|
"vue-horizontal-timeline": "^0.6.0",
|
|
"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",
|
|
"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.19.0",
|
|
"sass-loader": "^8.0.0",
|
|
"scp2": "^0.5.0",
|
|
"svg-sprite-loader": "^6.0.2",
|
|
"typescript": "^4.7.4",
|
|
"vite": "^2.2.4",
|
|
"vite-plugin-svg-icons": "^0.5.0",
|
|
"vite-plugin-vue2": "^1.5.1",
|
|
"vue-template-compiler": "^2.6.10"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|