Skeleton markup for new WordPress themes.
Stylesheet files are compiled from Sass with libsass.
JavaScript files are combined and compressed with UglifyJS, and quality is enforced with JSHint.
PHP quality is enforced with PHPCS.
Git hooks are available to compile, compress, and re-add files to the repository before each commit.
A watch task is included that supports live reloading of CSS and JS files. To enable live reload in your theme, add a script tag before your closing </body>
tag pointing to the live reload script:
<script src="//localhost:35729/livereload.js"></script>
/theme
.. /assets
.. .. /css
.. .. .. /src
.. .. /images
.. .. .. /src
.. .. /js
.. .. .. /src
.gitattributes
.gitignore
.jshintrc
Gruntfile.js
package.json
project.ruleset.xml
style.css
Stylesheets go into the assets/css directory.
Scripts go into the assets/js directory.
Images go into the assets/images directory.