Skip to content

Commit

Permalink
chore: husky setup
Browse files Browse the repository at this point in the history
  • Loading branch information
anmostovoy committed Jan 21, 2020
1 parent 6169ea2 commit cf0e869
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"release": "standard-version",
"prepare-for-npm": "node scripts/prepare-for-npm",
"github-release": "conventional-github-releaser",
"commitmsg": "validate-commit-msg",
"precommit": "npm test -- --reporter dot",
"coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls",
"coverage": "nyc npm test",
"test:browser": "cd browser-test && npm run browser && cd ..",
Expand All @@ -39,6 +37,12 @@
"typescript": "^3.2.4",
"validate-commit-msg": "^2.12.2"
},
"husky": {
"hooks": {
"pre-commit": "npm test -- --reporter dot",
"commit-msg": "validate-commit-msg"
}
},
"nyc": {
"include": [
"src/**/*.ts",
Expand Down

0 comments on commit cf0e869

Please sign in to comment.