Skip to content

Commit 5e986eb

Browse files
CitoIvanGoncharov
authored andcommitted
Make npm scripts for prettier run on Windows (#2072)
see http://blog.jonasbandi.net/2016/04/crossplatform-npm.html
1 parent 392db5a commit 5e986eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"testonly:cover": "nyc npm run testonly",
3030
"lint": "eslint --cache --report-unused-disable-directives src resources",
3131
"benchmark": "node --predictable ./resources/benchmark.js",
32-
"prettier": "prettier --ignore-path .gitignore --write --list-different '**/*.{js,md,json,yml}'",
33-
"prettier:check": "prettier --ignore-path .gitignore --check '**/*.{js,md,json,yml}'",
32+
"prettier": "prettier --ignore-path .gitignore --write --list-different \"**/*.{js,md,json,yml}\"",
33+
"prettier:check": "prettier --ignore-path .gitignore --check \"**/*.{js,md,json,yml}\"",
3434
"check": "flow check",
3535
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
3636
"build": "node resources/build.js",

0 commit comments

Comments
 (0)