Update grunt-ts version to get the noEmitOnError setting. Apply the setting

This commit is contained in:
Erjan Gavalji
2015-04-28 09:31:25 +03:00
parent 7150230655
commit 7e66323431
2 changed files with 4 additions and 3 deletions

View File

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

View File

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