Skip to content

Commit ba85d3f

Browse files
committed
add prettier npm script
1 parent 8368950 commit ba85d3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dev-server": "node ./examples/parallax-example/dist/server",
1313
"gh-pages": "NODE_ENV=production webpack --progress --colors",
1414
"test": "jest",
15+
"prettier": "prettier --tab-width 4 --single-quote --trailing-comma es5 --print-width 80 --write \"{src,examples,__tests__}/**/**/**/*.js\"",
1516
"prepublish": "babel ./src --out-dir ./lib --presets es2015,react,stage-0 --plugins babel-plugin-add-module-exports"
1617
},
1718
"jest": {

0 commit comments

Comments
 (0)