From 7ff07aa7b12865c9360217020433587664ae6feb Mon Sep 17 00:00:00 2001 From: Gabriel Nepomuceno Date: Fri, 9 Dec 2016 22:05:11 +0000 Subject: [PATCH] Revoming old files --- package.json | 1 - tasks/options/tslint.js | 24 -------------------- tasks/options/typescript.js | 45 ------------------------------------- 3 files changed, 70 deletions(-) delete mode 100644 tasks/options/tslint.js delete mode 100644 tasks/options/typescript.js diff --git a/package.json b/package.json index b5e0a658569..a10ab16fd6c 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "grunt-sass": "^1.2.1", "grunt-string-replace": "~1.3.1", "grunt-systemjs-builder": "^0.2.7", - "grunt-typescript": "^0.8.0", "grunt-usemin": "3.1.1", "jshint-stylish": "~2.2.1", "karma": "1.3.0", diff --git a/tasks/options/tslint.js b/tasks/options/tslint.js deleted file mode 100644 index c9658b32f8f..00000000000 --- a/tasks/options/tslint.js +++ /dev/null @@ -1,24 +0,0 @@ -module.exports = function(config) { - return { - source: { - files: { - src: ['<%= srcDir %>/app/**/*.ts', '!<%= srcDir %>/app/**/*.d.ts'], - } - }, - options: { - configuration: 'tslint.json' - // { - // rules: { - // curly: true, - // align: [true, "parameters", "statements"], - // indent: [true, "spaces"], - // "class-name": true, - // "interface-name": true, - // "semicolon": true, - // "use-strict": [false, "check-module", "check-function"], - // "whitespace": [true, "check-branch", "check-decl", "check-type"], - // } - // } - } - }; -}; diff --git a/tasks/options/typescript.js b/tasks/options/typescript.js deleted file mode 100644 index cac84135f09..00000000000 --- a/tasks/options/typescript.js +++ /dev/null @@ -1,45 +0,0 @@ -module.exports = function() { - 'use strict'; - - return { - build: { - src: ['public/**/*.ts', "!public/vendor/**/*", "!**/*.d.ts"], - dest: 'public_gen/', - options: { - module: 'system', //or commonjs - target: 'es5', //or es3 - rootDir: 'public/', - sourceRoot: 'public/', - declaration: true, - emitDecoratorMetadata: true, - experimentalDecorators: true, - sourceMap: true, - noImplicitAny: false, - } - }, - - // build2: { - // src: ['public/app/alerting#<{(||)}>#*.ts'], - // dest: 'public/.app_gen/alerting/all.js', - // options: { - // target: 'es5', //or es3 - // declaration: true, - // sourceMap: true, - // } - // }, - - watch: { - src: ['public/app/**/*.ts'], - dest: 'public/app_gen', - options: { - module: 'amd', //or commonjs - target: 'es5', //or es3 - rootDir: 'public/app', - declaration: true, - sourceMap: true, - watch: true, - } - } - }; - -};