Super simple scaffold for web projects with gulp, sass, webpack, …
First make sure you have nodeJS installed on your machine. You can get it here: https://nodejs.org
Then install gulp globally:
$ sudo npm install gulp -g
»sudo« is only needed on a Mac.
And finally change to the directory of your basement project and install the needed components via:
$ npm install
To:
- start a webserver
- compile your sass and js
- refresh the browser the moment you refresh files
you can just use the default gulp task
$ gulp
or
$ gulp dev
And to:
- build your project for distribution
- copy over all your assets
use:
$ gulp dist
Feedback, improvements, forks etc. are of course welcome! :)