From d3d08e7735808d4eae5aab4b263e36047c608679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Kruni=C4=87?= Date: Fri, 4 Jan 2019 15:32:16 +0100 Subject: [PATCH] fix: set larger v8 stack size Temporary fix for the issue that the conversion library (*.ts to JSON schema) which openstapps-convert uses recursion extensively. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e08cab18..0a027731 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src", "pack": "openstapps-pack", "prepublishOnly": "npm run build", - "schema": "NODE_OPTIONS='--max-old-space-size=8192' openstapps-core-tools schema src/core lib/schema", + "schema": "node --max-old-space-size=8192 --stack-size=10240 ./node_modules/.bin/openstapps-core-tools schema src/core lib/schema", "test": "mocha --require ts-node/register --ui mocha-typescript test/*.spec.ts", "tslint": "tslint 'src/**/*.ts'" },