Browse Source

use load-grunt-tasks

pull/386/head
makotot 11 years ago
parent
commit
69ffc10a9b
2 changed files with 3 additions and 15 deletions
  1. 15
      Gruntfile.js
  2. 3
      package.json

15
Gruntfile.js

@ -611,20 +611,7 @@ module.exports = function(grunt) {
}; };
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-docco-multi');
grunt.loadNpmTasks('grunt-cssjanus');
grunt.loadNpmTasks('grunt-clear');
grunt.loadNpmTasks('grunt-karma');
require('load-grunt-tasks')(grunt);
grunt.initConfig(config); grunt.initConfig(config);

3
package.json

@ -46,6 +46,7 @@
"grunt-karma": "~0.6.2", "grunt-karma": "~0.6.2",
"karma-spec-reporter": "0.0.5", "karma-spec-reporter": "0.0.5",
"grunt-clear": "~0.2.1", "grunt-clear": "~0.2.1",
"grunt-autoprefixer": "~0.4.0"
"grunt-autoprefixer": "~0.4.0",
"load-grunt-tasks": "~0.2.0"
} }
} }
Loading…
Cancel
Save