Command Reference

Get the job done fast with the power of NPM scripts. No complex pipelines here, just pure speed.

This is a full list of all the commands that can using yarn run.

Tests

Command Result
test Runs any tests that you configured. This is unset by default.

Building

Command Result
start Builds a new copy and spins up a local server through a BrowserSync proxy.
watch Equivelent to start.

Asset Compile

Command Result
dev The same as the start command but without launchnig the local server and browsersync, with sourcemaps and comments retained.
production Builds production ready assets, all minified and tiny.

Deployment

Command Result
deploy:live:sim Simulates a live deploy. No files transferred, report displayed in console.
deploy:live Performs a live deploy.
deploy:staging:sim Simulates a staging deploy. No files transferred, report in console.
deploy:staging Performs a staging deploy.
content:sync:sim Simulates syncing content down from live into your local copy. Useful for flat file CMS systems.
content:sync Syncs content down from live into your local copy. Useful for flat file CMS systems.

You can learn more about working with deployments here.

Built with the Best

Slate was built by Hash&Salt, a company who loves building for the internet. Using the very best in industry leading software and practices honed over the last 20 years in the industry. You're in good hands.