Skip to content

Commit

Permalink
update package.json for new husky
Browse files Browse the repository at this point in the history
  • Loading branch information
pladaria committed Feb 8, 2020
1 parent da55cdf commit 7d8e0bb
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 @@ -12,7 +12,6 @@
"report": "nyc report --reporter=html && opn coverage/index.html",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"lint": "eslint .",
"precommit": "lint-staged",
"prepublishOnly": "npm run clean && npm run lint && npm run build && npm test"
},
"keywords": [
Expand Down Expand Up @@ -75,5 +74,10 @@
"git add"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}

0 comments on commit 7d8e0bb

Please sign in to comment.