Skip to content

Commit

Permalink
Add precommit hook to exec lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
larixer committed May 28, 2018
1 parent 80032c2 commit f302880
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"cross-env NODE_ENV=coverage nyc --check-coverage --lines 96 --branches 80 npm run tests",
"tests": "mocha",
"tests:watch": "cross-env mocha -w",
"tests:watch:debug": "cross-env DEBUG=webpack-virtual-modules mocha -w"
},
"tests:watch:debug": "cross-env DEBUG=webpack-virtual-modules mocha -w",
"precommit": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sysgears/persistgraphql-webpack-plugin.git"
Expand Down

0 comments on commit f302880

Please sign in to comment.