From fc290d99aa4a38b77bf736e16158a0512e287ffc Mon Sep 17 00:00:00 2001 From: swiing Date: Sat, 2 Sep 2023 10:12:40 +0200 Subject: [PATCH] fix setting environment variable in Windows https://stackoverflow.com/questions/9249830/how-can-i-set-node-env-production-on-windows#comment41570489_9250168 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 840ea58..7987ddb 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "style:fix": "prettier {example,src,test}/**/*.ts --write", "style:check": "prettier {example,src,test}/**/*.ts --check", "test": "ts-node --esm --project ./tsconfig.esm.json ./test/index.ts", - "test:ci": "TS_NODE_PROJECT='./tsconfig.esm.json' node --no-warnings=ExperimentalWarning --loader ts-node/esm ./test/index.ts" + "test:ci": "set TS_NODE_PROJECT='./tsconfig.esm.json' && node --no-warnings=ExperimentalWarning --loader ts-node/esm ./test/index.ts" }, "author": "swiing", "license": "MIT",