frontendbyben v4.2.2
Frontend Build 
Frontend Build is a light-weight, no-bloat, front-end build framework. It's purpose is to give developers a jumpstart utilizing Gulp to automate repetitive tasks, a BEM CSS methodology for a standards-driven approach, pre-loaded with the Foundation front-end framework (easily add others or even your own!) and integrated with Babel allowing developers to use the next generation JavaScript.
If you're viewing this at https://github.com/bmarshall511/frontend, you're reading the documentation for the master branch. View documentation for the latest release.
Prerequisites
Direct Download
Download the script here and include it (unless you are packaging scripts somehow else).
Installation
Navigate to the frontend directory in Terminal and run the following commands:
$ bundle installTo install gem dependencies$ npm installTo install dependencies$ npm startWatch files & run appropriate tasks when needed
Development Usage
The following commands can be run in the frontend directory during development. An optional --prod flag can be appended to run for production environments, defaults to development.
$ gulpRuns the default tasks (delete,compass,htmlmin,js-transpile,kss)$ gulp js-lintLints JS files$ gulp js-transpileTranspiles JS files$ gulp scriptsLints and compiles JS files$ gulp compassCompiles Sass files$ gulp deleteDeletes everything in the dist & styleguide directory$ gulp copy-fontsCopies fonts to the dist directory$ gulp imagesMinifies images$ gulp kssGenerates a styleguide$ gulp scss-lintLints SCSS files$ gulp htmlminMinifies HTML documents$ gulp uncssRemoves unused styles (needs configuration)$ gulp style-lintLints the compiled CSS files (needs configuration)
Styleguides
Another feature to using Frontend Build is it's ability to create a styleguide automatically using KSS. For more information, see the syntax documentation on how to utilize this feature.
Contributing
Check out the Contributing Guidelines.
Security
For vulnerability reports, send an e-mail to me at benmarshall dot me.
Authors
- Ben Marshall
- And awesome contributors