Launch is a basic front-end boilerplate that is designed for creating static websites, or for easy integration with a CMS website.
npm installgulpgulp 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.jsonfile with your application details, read about it here. -
Update the
./package.jsonfile 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.
gulpbuilds the project to thedistdirectory.gulp watchlistens for file changes and re-builds the project.gulp servebuilds the project, starts a Browsersync server and watches for file changes (hot reloading included).gulp compress-imagesimage compression.gulp testruns 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