Skip to content

Commit

Permalink
fix: NPM scripts compatibility of Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery authored and mo committed Nov 5, 2024
1 parent 1e5fcec commit 5c8fab2
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 6 deletions.
130 changes: 130 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"build": "rollup -c",
"prepare": "npm run build",
"test": "npm run build && npm-run-all test-headless eslint",
"test-headless": "SELENIUM_BROWSER=chrome E2E_HEADLESS=1 ./scripts/wdio-suppress-exitcode",
"test-chrome": "SELENIUM_BROWSER=chrome ./scripts/wdio-suppress-exitcode",
"test-firefox": "SELENIUM_BROWSER=firefox ./scripts/wdio-suppress-exitcode",
"test-inspect-brk": "E2E_WDIO_EXEC_ARGV=--inspect-brk npm run test-chrome",
"test-verbose": "SELENIUM_BROWSER=chrome E2E_LOG_LEVEL=verbose wdio wdio.conf.js",
"test-headless": "cross-env SELENIUM_BROWSER=chrome E2E_HEADLESS=1 ./scripts/wdio-suppress-exitcode",
"test-chrome": "cross-env SELENIUM_BROWSER=chrome ./scripts/wdio-suppress-exitcode",
"test-firefox": "cross-env SELENIUM_BROWSER=firefox ./scripts/wdio-suppress-exitcode",
"test-inspect-brk": "cross-env E2E_WDIO_EXEC_ARGV=--inspect-brk npm run test-chrome",
"test-verbose": "cross-env SELENIUM_BROWSER=chrome E2E_LOG_LEVEL=verbose wdio wdio.conf.js",
"upgrade-packages": "npx npm-check --update",
"eslint": "eslint src/ tests/"
"eslint": "eslint --fix src/ tests/"
},
"keywords": [],
"repository": "mo/abortcontroller-polyfill",
Expand All @@ -33,6 +33,7 @@
"@wdio/local-runner": "^7.25.1",
"@wdio/selenium-standalone-service": "^7.25.1",
"@wdio/spec-reporter": "^7.25.1",
"cross-env": "^7.0.3",
"detect-browser": "^5.3.0",
"eslint": "^8.25.0",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit 5c8fab2

Please sign in to comment.