Skip to content

Commit aead343

Browse files
committed
fix(prettier): add precommit and prettier commands
1 parent 43ad3cf commit aead343

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
},
55
"scripts": {
66
"bootstrap": "lerna bootstrap --hoist tap --hoist eslin* --hoist husky --hoist prettier --hoist pretty-quick",
7+
"precommit": "pretty-quick --staged",
8+
"prettier": "prettier --config .prettierrc --write ./**/*.js",
79
"test": "tap packages/core/test/*_tests.js --reporter spec --coverage"
810
},
911
"nyc": {

0 commit comments

Comments
 (0)