mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
Revoming old files
This commit is contained in:
parent
a8ae0a5b79
commit
7ff07aa7b1
@ -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",
|
||||
|
@ -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,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user