Skip to content

Commit cca1fef

Browse files
committed
146: package.json: cross-env for windows
1 parent e2ff749 commit cca1fef

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"build": "babel -o legacy.js index.js",
1515
"test:lint": "eslint .",
1616
"test:ts": "ts-node ./test/ts/simple.ts",
17-
"test:ts:16": "TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.ts",
18-
"test:cjs:16": "TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.cjs",
19-
"test:mjs:16": "TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.mjs",
17+
"test:ts:16": "cross-env TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.ts",
18+
"test:cjs:16": "cross-env TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.cjs",
19+
"test:mjs:16": "cross-env TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.mjs",
2020
"tap": "tap --reporter classic",
2121
"test:git": "npm run tap test/git-check-ignore.test.js",
2222
"test:ignore": "npm run tap test/ignore.test.js",
@@ -59,6 +59,7 @@
5959
"@babel/preset-env": "^7.22.9",
6060
"@typescript-eslint/eslint-plugin": "^8.19.1",
6161
"codecov": "^3.8.3",
62+
"cross-env": "^7.0.3",
6263
"debug": "^4.3.4",
6364
"eslint": "^8.46.0",
6465
"eslint-config-ostai": "^3.0.0",

0 commit comments

Comments
 (0)