A small full-stack build tool based on Gulp, Babel, Browserify and Sass
npm install grub -g
grub [command] [folder]
Command and folder are optional.
Folder name is searched for in the current working directory and in
serverfolders, if either exists
serverfolder exists, then
clientfolder exists, then
serverfolders for production
The following folders are expected.
assets - Folders and files inside are copied to
build - Result of build:
All entry files below are required.
index.js-> Browserify and Babel
index.scss-> Sass, auto-prefixer
index.js is required.
If a folder called
shared is found in the current working directory, it is included in the
import path for JS and Sass. This can be used by
client files in
--quiet - Quiet mode
The following are included by default: