Add grunt.js build script

- Move Bootstrap LESS files into new subdirectory

- Change app.css to app.less, add @import's to utilize
Bootstrap variables and mixins

- Remove plugins.js and main.js

- Move Bootstrap JS plugins into new subdirectory

- Add new _main.js file with example DOM-based routing
script that works off the WordPress body_class

- lib/scripts.php has been updated to remove all extra
CSS and JS files and also places JavaScript in the footer
This commit is contained in:
Ben Word
2012-10-03 08:32:58 -05:00
parent 15d67295aa
commit ddea8b597f
66 changed files with 11262 additions and 57 deletions

34
package.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "roots",
"description": "A starting WordPress theme made for developers based on HTML5 Boilerplate & Bootstrap.",
"version": "6.1.0",
"homepage": "http://www.rootstheme.com/",
"author": "Ben Word <ben@benword.com>",
"contributors": [
{
"name": "Scott Walkinshaw",
"email": "scott.walkinshaw@gmail.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/retlehs/roots.git"
},
"bugs": {
"url" : "https://github.com/retlehs/roots/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/retlehs/roots/blob/master/LICENSE.md"
}
],
"dependencies": {
"grunt": "~0.3.15",
"grunt-contrib": "~0.2.0",
"grunt-recess": "~0.1.1",
"uglify-js": "~1.3.3",
"jshint": "~0.5.9"
},
"devDependencies": {}
}