Skip to content

Commit

Permalink
use cross-env for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent-Bouisset authored and peaBerberian committed Jun 11, 2024
1 parent 53280d8 commit 7322dbe
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
28 changes: 28 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 @@ -176,12 +176,12 @@
"start": "node ./scripts/start_demo_web_server.mjs",
"start:wasm": "node ./scripts/start_demo_web_server.mjs --include-wasm",
"test:integration": "npm run test:integration:chrome && npm run test:integration:firefox",
"test:integration:chrome": "export BROWSER_CONFIG=chrome; vitest run tests/integration",
"test:integration:chrome:watch": "export BROWSER_CONFIG=chrome; vitest watch tests/integration",
"test:integration:firefox": "export BROWSER_CONFIG=firefox; vitest run tests/integration",
"test:integration:firefox:watch": "export BROWSER_CONFIG=firefox; vitest watch tests/integration",
"test:memory": "export BROWSER_CONFIG=chrome; vitest run tests/memory",
"test:memory:chrome:watch": "export BROWSER_CONFIG=chrome; vitest watch tests/memory",
"test:integration:chrome": "cross-env BROWSER_CONFIG=chrome vitest run tests/integration",
"test:integration:chrome:watch": "cross-env BROWSER_CONFIG=chrome vitest watch tests/integration",
"test:integration:firefox": "cross-env BROWSER_CONFIG=firefox vitest run tests/integration",
"test:integration:firefox:watch": "cross-env BROWSER_CONFIG=firefox vitest watch tests/integration",
"test:memory": "cross-env BROWSER_CONFIG=chrome vitest run tests/memory",
"test:memory:chrome:watch": "cross-env BROWSER_CONFIG=chrome vitest watch tests/memory",
"test:unit": "jest --maxWorkers=5",
"test:unit:coverage": "jest --coverage",
"update-version": "npm run version --git-tag-version=false",
Expand All @@ -208,6 +208,7 @@
"@vitest/browser": "^1.6.0",
"babel-loader": "9.1.3",
"core-js": "3.34.0",
"cross-env": "^7.0.3",
"esbuild": "0.19.10",
"eslint": "8.56.0",
"eslint-config-prettier": "^9.1.0",
Expand Down

0 comments on commit 7322dbe

Please sign in to comment.