This is me testing and learning Gulp.
$ npm install
$ gulp
gulpfile.js
: Stores all Gulp configurations, like requirements and tasks.package.json
: Stores information about the project, like dependencies.
-
$ gulp greeting
Says «hello!» -
$ gulp browserSync
Creates local server (localhost:3000) and opens the browser window. -
$ gulp watch
Watches scss-folder for changes, then writes them to styles.css. -
$ gulp scss-lint
Checks your sass for suspiciousness. -
$ gulp sass
Compiles your sass to styles.css. -
$ gulp zip
Creates a zip of the entire project.