From 315e4c642f08ab1176b54ffaf9011036907b1b38 Mon Sep 17 00:00:00 2001 From: Sung Kim Date: Mon, 16 Oct 2017 11:18:50 -0400 Subject: [PATCH] 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 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1d214c9f..296ae387 100644 --- a/package.json +++ b/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": {