ci: 添加Commitizen、husky、prettier
Showing
.husky/.gitignore
0 → 100644
.husky/pre-commit
0 → 100644
... | ... | @@ -8,7 +8,8 @@ |
"build": "vue-cli-service build --report", | ||
"buildReview": "vue-cli-service build --mode ProReview", | ||
"bd": "vue-cli-service build --mode eruda & bash ./deploy.sh", | ||
"bd_110": "vue-cli-service build & bash ./deploy_110.sh" | ||
"bd_110": "vue-cli-service build & bash ./deploy_110.sh", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"@fingerprintjs/fingerprintjs": "^3.3.0", | ||
... | ... | @@ -50,17 +51,29 @@ |
"autoprefixer": "^9.8.6", | ||
"babel-plugin-import": "^1.13.3", | ||
"compressorjs": "^1.0.7", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^7.0.4", | ||
"less": "^3.0.4", | ||
"less-loader": "^5.0.0", | ||
"lint-staged": "^12.1.1", | ||
"pinia": "^2.0.0-alpha.10", | ||
"plyr": "^3.6.7", | ||
"postcss": "^7.0.36", | ||
"postcss-px-to-viewport-opt": "0.0.4", | ||
"postcss-remove-declaration": "^1.0.0", | ||
"postcss-viewport-units": "^0.1.6", | ||
"prettier": "^2.4.1", | ||
"protobufjs": "^6.10.2", | ||
"swiper": "^6.5.7", | ||
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.7", | ||
"typescript": "~4.1.5" | ||
}, | ||
"lint-staged": { | ||
"*.{js,css,md,vue,ts}": "prettier --write" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
} |
Please
register
or
sign in
to comment