Commit 35a6172c authored by Masayuki Tanaka's avatar Masayuki Tanaka

Merge pull request #3 from xica/feature/useLoadGruntTasks

add load-grunt-tasks for removing redundancy.
parents 0c7d4358 1b55994b
module.exports = (grunt) -> module.exports = (grunt) ->
require('load-grunt-tasks') grunt, pattern: 'grunt-contrib-*'
grunt.initConfig grunt.initConfig
jshint: jshint:
...@@ -17,7 +19,4 @@ module.exports = (grunt) -> ...@@ -17,7 +19,4 @@ module.exports = (grunt) ->
options: options:
specs: 'spec/*.js' specs: 'spec/*.js'
grunt.loadNpmTasks 'grunt-contrib-jshint'
grunt.loadNpmTasks 'grunt-contrib-jasmine'
grunt.registerTask 'default', ['jshint', 'jasmine'] grunt.registerTask 'default', ['jshint', 'jasmine']
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
"devDependencies": { "devDependencies": {
"grunt": "~0.4.1", "grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.7.1", "grunt-contrib-jshint": "~0.7.1",
"grunt-contrib-jasmine": "~0.5.2" "grunt-contrib-jasmine": "~0.5.2",
"load-grunt-tasks": "~0.2.0"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment