Increase Node heap size for TypeScript compiler runs.

This commit is contained in:
Hristo Deshev
2017-02-17 14:10:55 +02:00
parent 503e5bf9ff
commit 232692cacd

View File

@ -32,15 +32,15 @@
},
"scripts": {
"setup": "npm run dev-link-tns-platform-declarations && npm run dev-link-tns-core-modules && npm run dev-link-tests && npm run dev-link-apps",
"tsc": "tsc",
"compile-all": "tsc -p tsconfig.json --outDir bin/dist",
"compile-check-base-dts": "tsc -p tsconfig.base-dts.json",
"compile-node-tests": "tsc -p tsconfig.node-tests.json --outDir bin/dist/node-tests",
"compile-check-combined-dts": "tsc -p tsconfig.combined-dts.json",
"tsc-w": "tsc --skipLibCheck -w",
"dev-tsc-tns-platform-declarations": "tsc -p tns-platform-declarations",
"dev-tsc-tests": "tsc -p tests",
"dev-tsc-apps": "tsc -p apps",
"tsc": "node --max_old_space_size=4096 ./node_modules/.bin/tsc",
"compile-all": "npm run tsc -- -p tsconfig.json --outDir bin/dist",
"compile-check-base-dts": "npm run tsc -- -p tsconfig.base-dts.json",
"compile-node-tests": "npm run tsc -- -p tsconfig.node-tests.json --outDir bin/dist/node-tests",
"compile-check-combined-dts": "npm run tsc -- -p tsconfig.combined-dts.json",
"tsc-w": "npm run tsc -- --skipLibCheck -w",
"dev-tsc-tns-platform-declarations": "npm run tsc -- -p tns-platform-declarations",
"dev-tsc-tests": "npm run tsc -- -p tests",
"dev-tsc-apps": "npm run tsc -- -p apps",
"dev-tsc-all": "npm run dev-tsc-tns-platform-declarations && npm run tsc && npm run dev-tsc-tests && npm run dev-tsc-apps",
"dev-link-tns-platform-declarations": "cd tns-platform-declarations && npm link",
"dev-link-tns-core-modules": "cd tns-core-modules && npm link",
@ -56,7 +56,7 @@
"prepublish": "echo \"Development reminder: npm run setup\n\"",
"typedoc": "typedoc --tsconfig tsconfig.typedoc.json --out bin/dist/apiref --mode file --includeDeclarations --name NativeScript --theme ./node_modules/nativescript-typedoc-theme",
"dev-typedoc": "npm run typedoc && cd bin/dist/apiref && http-server",
"test-tsc-es2016": "tsc -p tsconfig.public.es2016.json",
"test-tsc-es2016": "npm run tsc -- -p tsconfig.public.es2016.json",
"tslint": "tslint --config build/tslint.json 'tns-core-modules/**/*.ts' 'tests/**/*.ts' 'apps/**/*.ts' -e '**/node_modules/**' -e '**/platforms/**'"
}
}