Skip to content

Commit 82ce1a7

Browse files
committed
Update package.json to be compatible with Windows
- Add double-quote to prettier execution. - Remove the logging output to /dev/null. This does cause a bit more logging to be outputted. - Closes #1523
1 parent 3f6f5ef commit 82ce1a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"coverage-html": "npm run build && npm run nobuild:coverage-html",
2424
"coverage": "npm run build && npm run nobuild:coverage",
2525
"format": "npm run prettier -- --write",
26-
"formatjs": "npm run prettierjs -- --write > /dev/null 2>&1",
26+
"formatjs": "npm run prettierjs -- --write",
2727
"format:ci": "npm run prettier -- --check && npm run prettierjs -- --check",
2828
"gitdiff:ci": "npm run build && git diff --exit-code",
2929
"integration": "npm run build && npm run nobuild:integration",
@@ -35,8 +35,8 @@
3535
"nobuild:coverage": "npm run build:tests && nyc --check-coverage --branches 90 --functions 90 --lines 90 mocha && npm run clean:jstests",
3636
"nobuild:integration": "npm run mocha:ts -- --timeout 50000 'test/integration/*.ts'",
3737
"nobuild:unit": "npm run mocha:ts -- 'test/*.ts'",
38-
"prettier": "prettier 'ts_src/**/*.ts' 'test/**/*.ts' --ignore-path ./.prettierignore",
39-
"prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore",
38+
"prettier": "prettier \"ts_src/**/*.ts\" \"test/**/*.ts\" --ignore-path ./.prettierignore",
39+
"prettierjs": "prettier \"src/**/*.js\" --ignore-path ./.prettierignore",
4040
"test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage",
4141
"unit": "npm run build && npm run nobuild:unit"
4242
},

0 commit comments

Comments
 (0)