|
|
@@ -4,7 +4,8 @@
|
|
|
"scripts": {
|
|
|
"dev": "vite --host",
|
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
|
- "new": "plop --plopfile ./plop/plopfile.js"
|
|
|
+ "new": "plop --plopfile ./plop/plopfile.js",
|
|
|
+ "postinstall": "husky install"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@types/color": "^3.0.3",
|
|
|
@@ -30,6 +31,8 @@
|
|
|
"vuedraggable": "^4.1.0"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
+ "@commitlint/cli": "^17.0.2",
|
|
|
+ "@commitlint/config-conventional": "^17.0.2",
|
|
|
"@types/node": "^16.11.26",
|
|
|
"@typescript-eslint/eslint-plugin": "^5.18.0",
|
|
|
"@typescript-eslint/parser": "^5.18.0",
|
|
|
@@ -39,6 +42,7 @@
|
|
|
"@vitejs/plugin-vue-jsx": "^1.3.9",
|
|
|
"@vue/compiler-sfc": "^3.2.31",
|
|
|
"@vueuse/core": "^7.7.1",
|
|
|
+ "commitlint": "^17.0.2",
|
|
|
"default-passive-events": "^2.0.0",
|
|
|
"echarts": "^5.3.2",
|
|
|
"eslint": "^8.12.0",
|
|
|
@@ -46,6 +50,7 @@
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
"eslint-plugin-vue": "^8.5.0",
|
|
|
+ "husky": "^8.0.1",
|
|
|
"lodash": "~4.17.21",
|
|
|
"mockjs": "^1.1.0",
|
|
|
"plop": "^3.0.5",
|