Browse Source

Made changes on prettier & prettier:diff scripts in 'package.json` to make it work on Windows as suggested by 'bvaughn' on https://github.com/reactjs/reactjs.org/issues/70#issuecomment-335050477

main
Sung Kim 7 years ago
parent
commit
315e4c642f
  1. 4
      package.json

4
package.json

@ -77,8 +77,8 @@
"dev": "gatsby develop -H 0.0.0.0",
"lint": "eslint .",
"netlify": "yarn install && yarn build",
"prettier": "prettier --config .prettierrc --write '{flow-typed,plugins,src}/**/*.js'",
"prettier:diff": "prettier --config .prettierrc --list-different '{flow-typed,plugins,src}/**/*.js'",
"prettier": "prettier --config .prettierrc --write \"{flow-typed,plugins,src}/**/*.js\"",
"prettier:diff": "prettier --config .prettierrc --list-different \"{flow-typed,plugins,src}/**/*.js\"",
"reset": "rimraf ./.cache"
},
"devDependencies": {

Loading…
Cancel
Save