feat: ✨ 提交框架修改重新调整哈士奇
Showing
... | ... | @@ -7,6 +7,7 @@ |
"stylelint:fix": "stylelint src/**/*.{html,vue,sass} --fix", | ||
"lint:fix": "prettier src/**/* --write", | ||
"lint": "eslint src/**/* --ext .js,.vue", | ||
"lint:stage": "lint-staged", | ||
"build:prod": "vue-cli-service build", | ||
"build:stage": "vue-cli-service build --mode staging", | ||
"cz": "npm run log && git add . && git cz", | ||
... | ... | @@ -14,7 +15,9 @@ |
"log": "conventional-changelog --config ./node_modules/vue-cli-plugin-commitlint/lib/log -i CHANGELOG.md -s -r 0", | ||
"preview": "node build/index.js --preview", | ||
"spellcheck": "cspell lint --dot --gitignore --color --cache --show-suggestions \"src/**/*.@(html|js|cjs|mjs|ts|tsx|css|scss|md|vue)\"", | ||
"prepare": "husky install" | ||
"prepare": "husky install", | ||
"commit": "git-cz", | ||
"commitlint": "commitlint --edit" | ||
}, | ||
"dependencies": { | ||
"@riophae/vue-treeselect": "0.4.0", | ||
... | ... | @@ -87,7 +90,7 @@ |
], | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/vue-cli-plugin-commitlint/lib/cz" | ||
"path": "node_modules/cz-git" | ||
} | ||
}, | ||
"engines": { | ||
... | ... | @@ -111,10 +114,9 @@ |
], | ||
"license": "MIT", | ||
"lint-staged": { | ||
"src/**/*.{js,vue}": [ | ||
"eslint --fix", | ||
"git add" | ||
] | ||
"src/**/*.{html,vue,css,sass,scss,js}": "prettier --write", | ||
"src/**/*.{vue,js}": "eslint --fix", | ||
"src/**/*.{vue,css,sass,scss}": "stylelint --fix" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... |
src/scripts/utils.ts
0 → 100644
Please register or sign in to comment