mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Increase Node heap size for TypeScript compiler runs.
This commit is contained in:
20
package.json
20
package.json
@ -32,15 +32,15 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"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",
|
"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",
|
"tsc": "node --max_old_space_size=4096 ./node_modules/.bin/tsc",
|
||||||
"compile-all": "tsc -p tsconfig.json --outDir bin/dist",
|
"compile-all": "npm run tsc -- -p tsconfig.json --outDir bin/dist",
|
||||||
"compile-check-base-dts": "tsc -p tsconfig.base-dts.json",
|
"compile-check-base-dts": "npm run tsc -- -p tsconfig.base-dts.json",
|
||||||
"compile-node-tests": "tsc -p tsconfig.node-tests.json --outDir bin/dist/node-tests",
|
"compile-node-tests": "npm run tsc -- -p tsconfig.node-tests.json --outDir bin/dist/node-tests",
|
||||||
"compile-check-combined-dts": "tsc -p tsconfig.combined-dts.json",
|
"compile-check-combined-dts": "npm run tsc -- -p tsconfig.combined-dts.json",
|
||||||
"tsc-w": "tsc --skipLibCheck -w",
|
"tsc-w": "npm run tsc -- --skipLibCheck -w",
|
||||||
"dev-tsc-tns-platform-declarations": "tsc -p tns-platform-declarations",
|
"dev-tsc-tns-platform-declarations": "npm run tsc -- -p tns-platform-declarations",
|
||||||
"dev-tsc-tests": "tsc -p tests",
|
"dev-tsc-tests": "npm run tsc -- -p tests",
|
||||||
"dev-tsc-apps": "tsc -p apps",
|
"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-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-platform-declarations": "cd tns-platform-declarations && npm link",
|
||||||
"dev-link-tns-core-modules": "cd tns-core-modules && 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\"",
|
"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",
|
"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",
|
"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/**'"
|
"tslint": "tslint --config build/tslint.json 'tns-core-modules/**/*.ts' 'tests/**/*.ts' 'apps/**/*.ts' -e '**/node_modules/**' -e '**/platforms/**'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user