Skip to content

Commit c5b2c44

Browse files
use cross-env for compatibility
1 parent 2537b4d commit c5b2c44

File tree

2 files changed

+35
-6
lines changed

2 files changed

+35
-6
lines changed

package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@
176176
"start": "node ./scripts/start_demo_web_server.mjs",
177177
"start:wasm": "node ./scripts/start_demo_web_server.mjs --include-wasm",
178178
"test:integration": "npm run test:integration:chrome && npm run test:integration:firefox",
179-
"test:integration:chrome": "export BROWSER_CONFIG=chrome; vitest run tests/integration",
180-
"test:integration:chrome:watch": "export BROWSER_CONFIG=chrome; vitest watch tests/integration",
181-
"test:integration:firefox": "export BROWSER_CONFIG=firefox; vitest run tests/integration",
182-
"test:integration:firefox:watch": "export BROWSER_CONFIG=firefox; vitest watch tests/integration",
183-
"test:memory": "export BROWSER_CONFIG=chrome; vitest run tests/memory",
184-
"test:memory:chrome:watch": "export BROWSER_CONFIG=chrome; vitest watch tests/memory",
179+
"test:integration:chrome": "cross-env BROWSER_CONFIG=chrome vitest run tests/integration",
180+
"test:integration:chrome:watch": "cross-env BROWSER_CONFIG=chrome vitest watch tests/integration",
181+
"test:integration:firefox": "cross-env BROWSER_CONFIG=firefox vitest run tests/integration",
182+
"test:integration:firefox:watch": "cross-env BROWSER_CONFIG=firefox vitest watch tests/integration",
183+
"test:memory": "cross-env BROWSER_CONFIG=chrome vitest run tests/memory",
184+
"test:memory:chrome:watch": "cross-env BROWSER_CONFIG=chrome vitest watch tests/memory",
185185
"test:unit": "jest --maxWorkers=5",
186186
"test:unit:coverage": "jest --coverage",
187187
"update-version": "npm run version --git-tag-version=false",
@@ -208,6 +208,7 @@
208208
"@vitest/browser": "^1.6.0",
209209
"babel-loader": "9.1.3",
210210
"core-js": "3.34.0",
211+
"cross-env": "^7.0.3",
211212
"esbuild": "0.19.10",
212213
"eslint": "8.56.0",
213214
"eslint-config-prettier": "^9.1.0",

0 commit comments

Comments
 (0)