Showing with 39 additions and 59 deletions.
  1. +3 −3 .gitignore
  2. +29 −0 Gruntfile.js
  3. +1 −2 LICENSE.txt
  4. +0 −47 grunt.js
  5. +6 −7 package.json
@@ -1,3 +1,3 @@
node_modules
dist
config.json
/dist/
/node_modules/
/config.js*
@@ -0,0 +1,29 @@
var rimraf = require( "rimraf" );

module.exports = function( grunt ) {

grunt.loadNpmTasks( "grunt-check-modules" );
grunt.loadNpmTasks( "grunt-jquery-content" );

grunt.initConfig({
"build-pages": {
all: "page/**"
},
"build-resources": {
all: "resources/**"
},
wordpress: (function() {
var config = require( "./config" );
config.dir = "dist/wordpress";
return config;
})()
});

grunt.registerTask( "clean", function() {
rimraf.sync( "dist" );
});

grunt.registerTask( "build", [ "build-pages", "build-resources" ] );
grunt.registerTask( "build-wordpress", [ "check-modules", "clean", "build" ] );

};
@@ -1,5 +1,4 @@
Copyright 2014 jQuery Foundation and other contributors,
https://jquery.org/
Copyright jQuery Foundation and other contributors, https://jquery.org/

This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history

This file was deleted.

@@ -4,7 +4,7 @@
"version": "0.0.0",
"homepage": "https://github.com/jquery/globalizejs.com",
"author": {
"name": "jQuery Foundation (http://jquery.org/)"
"name": "jQuery Foundation and other contributors"
},
"repository": {
"type": "git",
@@ -16,14 +16,13 @@
"licenses": [
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/MIT"
"url": "https://github.com/jquery/globalizejs.com/blob/master/LICENSE.txt"
}
],
"dependencies": {
"grunt": "0.3.17",
"grunt-clean": "0.3.0",
"grunt-wordpress": "1.2.1",
"grunt-jquery-content": "0.13.0",
"grunt-check-modules": "0.1.0"
"grunt": "0.4.5",
"grunt-check-modules": "0.2.0",
"grunt-jquery-content": "1.0.0",
"rimraf": "2.2.8"
}
}