From 51540575394fdbb3737c40083b4645a896890f21 Mon Sep 17 00:00:00 2001 From: mkafrin <1360790+mkafrin@users.noreply.github.com> Date: Tue, 5 Sep 2023 05:26:41 -0400 Subject: [PATCH] Better use of cross-env (#1171) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 35a30c2a..d19604fe 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "test:devRuntimePerformance": "ts-node test/dev/dev-runtime-performance.ts", "test:full": "yarn run test:dev && yarn run test:mocha-coverage && yarn run test:mocha-memory-performance", "test:mocha": "mocha --require source-map-support/register test/index.spec.ts --exit", - "test:mocha-coverage": "NODE_OPTIONS=--max-old-space-size=4096 nyc --reporter text-summary --no-clean yarn run test:mocha", + "test:mocha-coverage": "cross-env NODE_OPTIONS=--max-old-space-size=4096 nyc --reporter text-summary --no-clean yarn run test:mocha", "test:mocha-coverage:report": "nyc report --reporter=lcov", "test:mocha-memory-performance": "cross-env NODE_OPTIONS=--max-old-space-size=280 mocha test/performance-tests/JavaScriptObfuscatorMemory.spec.ts", "test": "yarn run test:full",