Skip to content

Commit

Permalink
chore: add format command
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed May 6, 2017
1 parent d85698c commit 0169d3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"clear": "rm -rf dist/ && mkdir dist/",
"lint:staged": "lint-staged",
"prepublish": "npm run build",
"test": "xo && flow --show-all-errors"
"test": "xo && flow --show-all-errors",
"format": "prettier --write --single-quote --trailing-comma all --tab-width 4 src/**/*.js"
},
"lint-staged": {
"*.js": [
Expand Down

0 comments on commit 0169d3a

Please sign in to comment.