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.
This commit is contained in:
Jovan Krunić
2019-01-04 15:32:16 +01:00
parent e0e0a09c7c
commit d3d08e7735

View File

@@ -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'"
},