A quick Gruntfile and package.json file for WordPress theme development (and custom theme plugins)
Folder structure should be:
/theme-name/ (all your theme code here)
/theme-name-child/ (sample child theme code here)
/plugin-dev/
/plugin-dev/your-custom-theme-plugin-code-1/ (custom theme plugin code here)
/plugin-dev/your-custom-theme-plugin-code-2/ (another plugin here)
package.json
Gruntfile.js
The theme-name
in folder structure should match the package name from package.json
Details: https://forums.envato.com/t/anyone-using-grunt-for-wordpress-theme-development/24786/2