Blank Theme is a custom blank theme created with the underscore theme, which includes the Foundation basic grid system and some basic customizer settings required in almost all projects.
After cloning the repo, run the following:
npm install
Then run the following command which will prompt for the theme name, start renaming, and clean up:
npm run init
To compile assets, use the following commands:
npm run build:dev # During development
npm run build:prod # When ready for production
# Generate POT files
npm run build:pot
# Lint all at once
npm run lint:all
# Lint only staged files
npm run lint:staged
# Lint individual CSS, JS, PHP and package.json
npm run lint:css
npm run lint:css:fix
npm run lint:js
npm run lint:js:fix
npm run lint:js:report
npm run lint:php
npm run lint:php:fix
npm run lint:package-json
This precommit
script will lint your SCSS, JS, PHP files and also generate the POT file:
npm run precommit