tech(typescript): converted signup controller to typescript

This commit is contained in:
Torkel Ödegaard
2015-09-10 16:21:57 +02:00
parent dceec44671
commit 20407bca89
13 changed files with 5383 additions and 71 deletions
+23
View File
@@ -0,0 +1,23 @@
module.exports = function(config) {
return {
source: {
files: {
src: ['<%= srcDir %>/app/**/*.ts', '!<%= srcDir %>/app/**/*.d.ts'],
}
},
options: {
configuration: {
rules: {
curly: true,
align: [true, "parameters", "arguments", "statements"],
indent: [true, "spaces"],
"class-name": true,
"interface-name": true,
"semicolon": true,
"use-strict": [true, "check-module", "check-function" ],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"],
}
}
}
};
};
+1 -1
View File
@@ -1,6 +1,6 @@
module.exports = function(config) {
return {
dest: {
genDir: {
expand: true,
src: ['**/*.js', '!dashboards/*.js', '!vendor/**/*.js'],
dest: '<%= genDir %>',