Skip to content

Commit 0b7fd8c

Browse files
committed
build: use cross-env for scripts
1 parent 2151184 commit 0b7fd8c

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
},
2626
"scripts": {
2727
"bundle": "npm run format:write && npm run package",
28-
"ci-test": "NODE_OPTIONS=--experimental-vm-modules npx jest --coverage",
28+
"ci-test": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --coverage",
2929
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
3030
"format:write": "npx prettier --write .",
3131
"format:check": "npx prettier --check .",
3232
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
3333
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
3434
"package:watch": "npm run package -- --watch",
35-
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
35+
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest",
3636
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
3737
},
3838
"license": "MIT",
@@ -99,6 +99,7 @@
9999
"@typescript-eslint/eslint-plugin": "^7.18.0",
100100
"@typescript-eslint/parser": "^7.18.0",
101101
"@vercel/ncc": "^0.38.3",
102+
"cross-env": "^7.0.3",
102103
"dotenv": "^16.4.7",
103104
"eslint": "^8.57.1",
104105
"eslint-plugin-github": "^5.1.7",

0 commit comments

Comments
 (0)