Better use of cross-env (#1171)

This commit is contained in:
mkafrin
2023-09-05 13:26:41 +04:00
committed by GitHub
parent 54cbdf6d27
commit 5154057539
+1 -1
View File
@@ -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",