Build System

Neat uses GulpJS as the main build system, its use of streams and code-over-configuration makes for a simpler and more intuitive build.

Setup

To use Gulp, you must have NodeJS installed and NodeJS will have npm (node package manager). To get started follow our instructions from the installation guide.

Once you have succesfully setup, now you can use Neat Gulp CLI commands to automate your tasks.


Commands

All GulpJS tasks and configurations, can be found at gulpfile.js, feel free to customize it to meet your needs.

Task Description
gulp html Copy all html files from src folder to dist folder.
gulp css Compile, autoprefix, minify sass files.
gulp javascript Concat and minify all javascript files.
gulp watch Watch files for changes and reload the browser.
gulp The deafult/main task, will run all previous tasks.