Skip to content

Commit cd10bf7

Browse files
committed
chore: use cross-env for setting env vars for package.json scripts
1 parent 6947d4d commit cd10bf7

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

package-lock.json

Lines changed: 20 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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint:fix:js": "eslint --max-warnings 0 . --fix",
2020
"fmt": "prettier --check .",
2121
"fmt:fix": "prettier --write .",
22-
"test:e2e": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:3000/ playwright test",
22+
"test:e2e": "cross-env PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:3000/ playwright test",
2323
"test:e2e:update": "npm run test:e2e -- --update-snapshots"
2424
},
2525
"lint-staged": {
@@ -87,6 +87,7 @@
8787
"@types/react": "^18.3.3",
8888
"@types/react-dom": "^18.3.0",
8989
"@vitejs/plugin-react": "^4.3.1",
90+
"cross-env": "^7.0.3",
9091
"eslint": "^8.57.0",
9192
"got": "^14.4.3",
9293
"lint-staged": "^15.2.9",

0 commit comments

Comments
 (0)