Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ module.exports = function(grunt) {
var SOURCE_DIR = 'src/';
var BUILD_DIR = 'build/';

// Load all the Grunt tasks listed in package.json
require('matchdep').filterDev('grunt-*').forEach( grunt.loadNpmTasks );

// Project configuration.
grunt.initConfig({
clean: {
Expand Down Expand Up @@ -106,13 +109,6 @@ module.exports = function(grunt) {
}
});

// Load tasks.
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');

// Register tasks.
grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core',
'uglify:core', 'uglify:tinymce']);
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"license": "GPLv2 or later",
"devDependencies": {
"grunt": "~0.4.1",
"matchdep": "~0.1.2",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-cssmin": "~0.6.1",
Expand Down