Minor MusicStore.Spa grunt updates

This commit is contained in:
DamianEdwards 2014-09-29 15:25:59 -07:00
parent f16a0c0f19
commit 750d459d02
4 changed files with 62 additions and 60 deletions

View File

@ -5,15 +5,7 @@
module.exports = function (grunt) {
grunt.initConfig({
staticFilePattern: "**/*.{js,css,map,html,htm,ico,jpg,jpeg,png,gif,eot,svg,ttf,woff}",
tslint: {
options: {
configuration: grunt.file.readJSON("grunt/tslint-rules.json")
},
files: {
src: ["Client/**/*.ts", "!**/*.ng.ts"]
}
}
staticFilePattern: "**/*.{js,css,map,html,htm,ico,jpg,jpeg,png,gif,eot,svg,ttf,woff}"
});
grunt.registerTask("ts", ["tslint", "tsng", "typescript:dev", "clean:tsng"]);

View File

@ -1,6 +1,6 @@
{
"options": { "force": true },
"bower": ["wwwroot/*", "!wwwroot/bin"],
"assets": ["wwwroot/*", "!wwwroot/bin"],
"tsng": ["client/**/*.ng.ts"]
"bower": [ "wwwroot/*", "!wwwroot/bin" ],
"assets": [ "wwwroot/*", "!wwwroot/bin" ],
"tsng": [ "client/**/*.ng.ts" ]
}

View File

@ -1,48 +0,0 @@
{
"rules": {
"class-name": true,
"curly": true,
"eofline": false,
"forin": true,
"indent": [true, 4],
"label-position": true,
"label-undefined": true,
"max-line-length": [true, 140],
"no-arg": true,
"no-bitwise": true,
"no-console": [true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-string-literal": true,
"no-trailing-whitespace": true,
"no-unreachable": true,
"one-line": [true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"quotemark": [true, "double"],
"radix": true,
"semicolon": true,
"triple-equals": [true, "allow-null-check"],
"variable-name": false,
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}

View File

@ -0,0 +1,58 @@
{
"options": {
"configuration": {
"rules": {
"class-name": true,
"curly": true,
"eofline": false,
"forin": true,
"indent": [ true, 4 ],
"label-position": true,
"label-undefined": true,
"max-line-length": [ true, 140 ],
"no-arg": true,
"no-bitwise": true,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-string-literal": true,
"no-trailing-whitespace": true,
"no-unreachable": true,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"quotemark": [ true, "double" ],
"radix": true,
"semicolon": true,
"triple-equals": [ true, "allow-null-check" ],
"variable-name": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}
},
"files": {
"src": [ "Client/**/*.ts", "!**/*.ng.ts" ]
}
}