Install prettier code formatter

This commit is contained in:
Nicolas Gallagher
2017-02-27 22:35:17 -08:00
parent 43f78828a5
commit ba6be1f64a
2 changed files with 80 additions and 11 deletions
+2
View File
@@ -15,6 +15,7 @@
"build:umd": "webpack --config webpack.config.js --sort-assets-by --progress",
"deploy:examples": "git checkout gh-pages && rm -rf ./storybook && mv dist-examples storybook && git add -A && git commit -m \"Storybook deploy\" && git push origin gh-pages && git checkout -",
"examples": "start-storybook -p 9001 -c ./examples/.storybook --dont-track",
"fmt": "prettier --singleQuote=true --write performnce/**/*.js src/**/*.js,
"lint": "eslint performance src --ignore-path .gitignore",
"prepublish": "npm run build && npm run build:umd",
"test": "npm run lint && npm run test:jest",
@@ -52,6 +53,7 @@
"file-loader": "^0.9.0",
"jest": "^16.0.2",
"node-libs-browser": "^0.5.3",
"prettier": "^0.19.0",
"react": "~15.4.1",
"react-addons-test-utils": "~15.4.1",
"react-test-renderer": "~15.4.1",