Launch is a basic front-end boilerplate that is designed for creating static websites, or for easy integration with a CMS website.
npm install
gulp
gulp serve
If you don't want to use Browsersync just run gulp
then gulp watch
and use your own server.
Replace the Launch example meta-data with your own:
-
Update the example
./src/manifest.json
file with your application details, read about it here. -
Update the
./package.json
file with your application details, learn about it here
npm test
to run the tests.
A useful way to automatically run the tests is with a pre-commit hook. Just copy pre-commit
to .git/hooks/
and apply the correct permissions with chmod +x .git/hooks/post-commit
Mocha is used for unit testing. Because we are working with ES2015 modules, we transpile to CommonJS modules first, using Babel.
gulp
builds the project to thedist
directory.gulp watch
listens for file changes and re-builds the project.gulp serve
builds the project, starts a Browsersync server and watches for file changes (hot reloading included).gulp compress-images
image compression.gulp test
runs the unit tests.
- Babel
- Browsersync
- Foundation - The entire Foundation CSS framework is available but only the (flexbox) grid and flexbox classes are installed by default.
- Gulp
- SASS