Skip to content

Commit

Permalink
chore(npm): move scripts.precommit to husky.hooks.pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pacome35220 committed Dec 6, 2019
1 parent 90e7205 commit 7ea72ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"start": "react-native start",
"test": "jest",
"commit": "git-cz",
"precommit": "lint-staged",
"prettify": "prettier --config .prettierrc --write '{*.json,./**/*.{js,ts,scss,css,html,json,tsx}}'"
},
"dependencies": {
Expand Down Expand Up @@ -54,5 +53,10 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}

0 comments on commit 7ea72ac

Please sign in to comment.