DEPRECATED. MOVED TO (FRONTPACK)[https://github.com/bmarshall511/frontpack] AND NOW USING WEBPACK INSTEAD OF GULP.
Download the script here and include it (unless you are packaging scripts somehow else).
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
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 (
$ 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)
Check out the Contributing Guidelines.
For vulnerability reports, send an e-mail to
me at benmarshall dot me.