tech(typescript): converted signup controller to typescript
This commit is contained in:
@@ -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,6 +1,6 @@
|
||||
module.exports = function(config) {
|
||||
return {
|
||||
dest: {
|
||||
genDir: {
|
||||
expand: true,
|
||||
src: ['**/*.js', '!dashboards/*.js', '!vendor/**/*.js'],
|
||||
dest: '<%= genDir %>',
|
||||
|
||||
Reference in New Issue
Block a user