Ver código fonte

Revoming old files

Gabriel Nepomuceno 9 anos atrás
pai
commit
7ff07aa7b1
3 arquivos alterados com 0 adições e 70 exclusões
  1. 0 1
      package.json
  2. 0 24
      tasks/options/tslint.js
  3. 0 45
      tasks/options/typescript.js

+ 0 - 1
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",

+ 0 - 24
tasks/options/tslint.js

@@ -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"],
-      //   }
-      // }
-    }
-  };
-};

+ 0 - 45
tasks/options/typescript.js

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