Skip to content

Commit

Permalink
build: add git hooks and commit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jun 30, 2021
1 parent 88bdf52 commit 02d1512
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions package.json
Expand Up @@ -92,7 +92,11 @@
"value"
],
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"lerna": "latest",
"lint-staged": "latest",
"simple-git-hooks": "latest",
"standard": "latest"
},
"engines": {
Expand All @@ -114,6 +118,26 @@
"update:check": "lerna exec ncu -- --errorLevel 2 && ncu -- --errorLevel 2"
},
"private": "true",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.js": [
"prettier-standard"
],
"*.md": [
"standard-markdown"
],
"package.json": [
"finepack"
]
},
"simple-git-hooks": {
"commit-msg": "npx commitlint --edit",
"pre-commit": "npx lint-staged"
},
"workspaces": [
"packages/*"
]
Expand Down
1 change: 1 addition & 0 deletions packages/keyv-postgres/package.json
Expand Up @@ -30,6 +30,7 @@
"pg": "8.6.0"
},
"devDependencies": {
"@keyvhq/keyv-test-suite": "latest",
"ava": "latest",
"nyc": "latest"
},
Expand Down

0 comments on commit 02d1512

Please sign in to comment.