Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 782 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 782 Bytes

Getting started

This is me testing and learning Gulp.

1. Install dependencies

$ npm install

2. Run default task

$ gulp

Files

  • gulpfile.js: Stores all Gulp configurations, like requirements and tasks.
  • package.json: Stores information about the project, like dependencies.

Tasks

  • $ 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.