Skip to content

Instantly share code, notes, and snippets.

@mattbanks
Last active December 14, 2015 20:19
Show Gist options
  • Save mattbanks/5143411 to your computer and use it in GitHub Desktop.
Save mattbanks/5143411 to your computer and use it in GitHub Desktop.
package.json for use with Grunt in developing and deploying WordPress themes
{
"name": "wordpress-starter-theme",
"version": "1.0.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-compass": "~0.2.0",
"grunt-contrib-imagemin": "~0.1.4",
"grunt-contrib-jshint": "~0.4.3",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-watch": "~0.4.3",
"grunt-rsync": "~0.1.1",
"matchdep": "~0.1.2"
}
}
@davemac
Copy link

davemac commented Mar 27, 2014

So as not give errors in latest NPM:

"grunt": "~0.4.2",
"grunt-contrib-imagemin": ">=0.5.0",
"grunt-contrib-jshint": ">=0.9.2",
"grunt-contrib-uglify": ">=0.4.0",
"grunt-contrib-watch": ">=0.6.1",
"grunt-rsync": ">=0.5.0",
"matchdep": ">=0.3.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment