mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Revoming old files
This commit is contained in:
@@ -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"],
|
||||
// }
|
||||
// }
|
||||
}
|
||||
};
|
||||
};
|
@@ -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,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
};
|
Reference in New Issue
Block a user