Browse Source

Merge pull request #3 from xica/feature/useLoadGruntTasks

add load-grunt-tasks for removing redundancy.
pull/4/head
Masayuki Tanaka 11 years ago
parent
commit
35a6172c8d
  1. 5
      Gruntfile.coffee
  2. 3
      package.json

5
Gruntfile.coffee

@ -1,6 +1,8 @@
module.exports = (grunt) ->
require('load-grunt-tasks') grunt, pattern: 'grunt-contrib-*'
grunt.initConfig
jshint:
@ -17,7 +19,4 @@ module.exports = (grunt) ->
options:
specs: 'spec/*.js'
grunt.loadNpmTasks 'grunt-contrib-jshint'
grunt.loadNpmTasks 'grunt-contrib-jasmine'
grunt.registerTask 'default', ['jshint', 'jasmine']

3
package.json

@ -22,6 +22,7 @@
"devDependencies": {
"grunt": "~0.4.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"
}
}

Loading…
Cancel
Save