Skip to content

Commit

Permalink
chore: Add task to autorun npm ci [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 17, 2020
1 parent d44a69e commit 79e5422
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
"tsc": "tsc",
"format": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"release": "standard-version"
"release": "standard-version",
"update-deps": "(git diff 'HEAD@{1}' --name-only | grep ./package-lock.json > /dev/null) && npm ci || :"
},
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": "lint-staged",
"post-merge": "npm run update-deps; git remote prune origin"
}
},
"lint-staged": {
Expand Down

0 comments on commit 79e5422

Please sign in to comment.