Skip to content

Commit

Permalink
Use non-deprecated Husky config
Browse files Browse the repository at this point in the history
  • Loading branch information
dphilipson committed Oct 5, 2018
1 parent c036a14 commit 716b8d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ callee to respond to the specified action type. If this is undesirable, see the

## Installation

For this library to be useful, you will need
[typescript-fsa](https://github.com/aikoven/typescript-fsa) as well to define
your actions.
For this library to be useful, you will also need
[typescript-fsa](https://github.com/aikoven/typescript-fsa) to define your
actions.

With Yarn:
```
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@
"jest": "jest",
"lint-file": "tslint",
"lint": "tslint --project .",
"precommit": "lint-staged",
"prepublishOnly": "yarn run test && yarn run build",
"test": "yarn run lint && tsc && yarn run jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,json}": [
"yarn run format-file",
Expand Down

0 comments on commit 716b8d0

Please sign in to comment.