Skip to content

Commit c213c97

Browse files
Rondinellyshockey
andcommitted
housekeeping: fix npm run lint and npm test on Windows (#5737)
Co-authored-by: kyle shockey <[email protected]>
1 parent a24957e commit c213c97

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
"deps-license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
2727
"deps-size": "webpack -p --config webpack/bundle.babel.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
2828
"deps-check": "run-s deps-license deps-size",
29-
"lint": "eslint --cache --ext '.js,.jsx' src test",
30-
"lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
31-
"lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
29+
"lint": "eslint --cache --ext \".js,.jsx\" src test",
30+
"lint-errors": "eslint --cache --quiet --ext \".js,.jsx\" src test",
31+
"lint-fix": "eslint --cache --ext \".js,.jsx\" src test --fix",
3232
"test": "run-s just-test-in-node e2e-cypress lint-errors",
3333
"test-in-node": "run-s lint-errors just-test-in-node",
34-
"just-test-in-node": "mocha --require test/mocha/setup.js --recursive --compilers js:@babel/register --require source-map-support 'test/mocha/**/*.{js,jsx}'",
34+
"just-test-in-node": "mocha --require test/mocha/setup.js --recursive --compilers js:@babel/register --require source-map-support \"test/mocha/**/*.{js,jsx}\"",
3535
"test-e2e-cypress": "cypress run",
3636
"test-e2e-selenium": "sleep 3 && nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json",
3737
"e2e-initial-render": "nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json --group initial-render",
@@ -40,7 +40,7 @@
4040
"hot-e2e-selenium-server": "webpack-dev-server --config webpack/dev-e2e.babel.js --content-base test/e2e-selenium/static",
4141
"e2e-cypress": "run-p -r hot-e2e-cypress-server mock-api test-e2e-cypress",
4242
"e2e-selenium": "run-p -r hot-e2e-selenium-server mock-api test-e2e-selenium",
43-
"open-static": "node -e 'require(\"open\")(\"http://localhost:3002\")'",
43+
"open-static": "node -e \"require('open')('http://localhost:3002')\"",
4444
"security-audit": "run-s -sc security-audit:all security-audit:prod",
4545
"security-audit:prod": "npm-audit-ci-wrapper -p -t low",
4646
"security-audit:all": "npm-audit-ci-wrapper -t moderate",

0 commit comments

Comments
 (0)