Skip to content

Commit

Permalink
fix(prettier): add precommit and prettier commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuenzenmeyer committed Mar 16, 2018
1 parent 43ad3cf commit aead343
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
},
"scripts": {
"bootstrap": "lerna bootstrap --hoist tap --hoist eslin* --hoist husky --hoist prettier --hoist pretty-quick",
"precommit": "pretty-quick --staged",
"prettier": "prettier --config .prettierrc --write ./**/*.js",
"test": "tap packages/core/test/*_tests.js --reporter spec --coverage"
},
"nyc": {
Expand Down

0 comments on commit aead343

Please sign in to comment.