diff --git a/package.json b/package.json index 4557f89..ead258b 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,9 @@ "build": "babel -o legacy.js index.js", "test:lint": "eslint .", "test:ts": "ts-node ./test/ts/simple.ts", - "test:ts:16": "TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.ts", - "test:cjs:16": "TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.cjs", - "test:mjs:16": "TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.mjs", + "test:ts:16": "cross-env TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.ts", + "test:cjs:16": "cross-env TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.cjs", + "test:mjs:16": "cross-env TS_NODE_COMPILER_OPTIONS='{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ts-node ./test/ts/simple.mjs", "tap": "tap --reporter classic", "test:git": "npm run tap test/git-check-ignore.test.js", "test:ignore": "npm run tap test/ignore.test.js", @@ -59,6 +59,7 @@ "@babel/preset-env": "^7.22.9", "@typescript-eslint/eslint-plugin": "^8.19.1", "codecov": "^3.8.3", + "cross-env": "^7.0.3", "debug": "^4.3.4", "eslint": "^8.46.0", "eslint-config-ostai": "^3.0.0",