mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Update grunt-ts version to get the noEmitOnError setting. Apply the setting
This commit is contained in:
@ -291,14 +291,15 @@ module.exports = function(grunt) {
|
|||||||
ts: {
|
ts: {
|
||||||
build: {
|
build: {
|
||||||
src: localCfg.typeScriptSrc,
|
src: localCfg.typeScriptSrc,
|
||||||
outDir: [localCfg.outModulesDir],
|
outDir: localCfg.outModulesDir,
|
||||||
options: {
|
options: {
|
||||||
module: "commonjs",
|
module: "commonjs",
|
||||||
target: "es5",
|
target: "es5",
|
||||||
sourceMap: false,
|
sourceMap: false,
|
||||||
declaration: false,
|
declaration: false,
|
||||||
removeComments: "<%= !grunt.option('leavecomments') || '' %>",
|
removeComments: "<%= !grunt.option('leavecomments') || '' %>",
|
||||||
compiler: "node_modules/typescript/bin/tsc"
|
compiler: "node_modules/typescript/bin/tsc",
|
||||||
|
noEmitOnError: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"grunt-exec": "0.4.5",
|
"grunt-exec": "0.4.5",
|
||||||
"grunt-multi-dest": "1.0.0",
|
"grunt-multi-dest": "1.0.0",
|
||||||
"grunt-shell": "1.1.2",
|
"grunt-shell": "1.1.2",
|
||||||
"grunt-ts": "1.12.1",
|
"grunt-ts": "4.0.1",
|
||||||
"grunt-tslint": "0.4.2",
|
"grunt-tslint": "0.4.2",
|
||||||
"typescript": "1.4.1"
|
"typescript": "1.4.1"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user