Skip to content

Commit

Permalink
build(npm): use the global commitlint & husky
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Mar 13, 2022
1 parent f0a2e2f commit da05d39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit
npx --no -- commitlint -x $(npm root -g)/@commitlint/config-conventional --edit
11 changes: 0 additions & 11 deletions package.json
Expand Up @@ -12,26 +12,15 @@
"url": "https://github.com/cotes2020/jekyll-theme-chirpy/issues"
},
"homepage": "https://github.com/cotes2020/jekyll-theme-chirpy#readme",
"scripts": {
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
"gulp-insert": "^0.5.0",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2",
"husky": "^7.0.4",
"standard-version": "^9.3.2",
"uglify-js": "^3.14.3"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"standard-version": {
"skip": {
"commit": true,
Expand Down

0 comments on commit da05d39

Please sign in to comment.