From 7e66323431ffdcda9de821990328d24f62a69d47 Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Tue, 28 Apr 2015 09:31:25 +0300 Subject: [PATCH] Update grunt-ts version to get the noEmitOnError setting. Apply the setting --- gruntfile.js | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 817dd9b9d..49dab765a 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -291,14 +291,15 @@ module.exports = function(grunt) { ts: { build: { src: localCfg.typeScriptSrc, - outDir: [localCfg.outModulesDir], + outDir: localCfg.outModulesDir, options: { module: "commonjs", target: "es5", sourceMap: false, declaration: false, removeComments: "<%= !grunt.option('leavecomments') || '' %>", - compiler: "node_modules/typescript/bin/tsc" + compiler: "node_modules/typescript/bin/tsc", + noEmitOnError: true } } }, diff --git a/package.json b/package.json index eaccf8592..6beccb103 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "grunt-exec": "0.4.5", "grunt-multi-dest": "1.0.0", "grunt-shell": "1.1.2", - "grunt-ts": "1.12.1", + "grunt-ts": "4.0.1", "grunt-tslint": "0.4.2", "typescript": "1.4.1" }