chore(grunt): adds load-grunt-tasks module

kills some lines of code :)
This commit is contained in:
Pascal Precht
2013-12-04 23:21:38 +01:00
parent 78a8adcb7b
commit dc95e248c0
2 changed files with 3 additions and 8 deletions

View File

@@ -105,13 +105,7 @@ module.exports = function(grunt) {
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-cssmin');
require('load-grunt-tasks')(grunt);
grunt.registerTask('default', [
'jshint',

View File

@@ -14,7 +14,8 @@
"grunt-contrib-jshint": "~0.6.4",
"grunt-contrib-sass": "~0.5.0",
"karma-jasmine": "~0.1.3",
"karma-chrome-launcher": "~0.1.0"
"karma-chrome-launcher": "~0.1.0",
"load-grunt-tasks": "~0.2.0"
},
"scripts": {
"test": "./node_modules/.bin/karma start ionic.conf.js --single-run --browsers Firefox"