Skip to content

Commit

Permalink
chore(husky): add pre-commit script to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jzabala committed Jul 23, 2018
1 parent 3de51a3 commit 1f0cca3
Show file tree
Hide file tree
Showing 2 changed files with 205 additions and 0 deletions.
199 changes: 199 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"husky": "1.0.0-rc.13",
"jest": "^23.3.0"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/examples"
]
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}

0 comments on commit 1f0cca3

Please sign in to comment.