Skip to content

A simple front end boilerplate using Gulp, Babel, Scss, ESLint and Browsersync

Notifications You must be signed in to change notification settings

mildrenben/gulpBoiler17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulpBoiler17

A simple front end boilerplate using Babel (es2015 and es2017), Gulp, Scss, ESLint, and Browsersync.

Get started

git clone --depth=1 https://github.com/mildrenben/gulpBoiler17.git

npm i

npm start

Done.


Components

  • HTML - HTML sits in the top level src folder.
  • SCSS - Only one .css file is written (style.css). You need to import all other .scss files into the existing style.scss file.
  • JS - Babel compiles the JS with the es2015 and es2017 presets. It is not concatenated, I suggest using gulp-concat if you need multiple files.
  • Images - Images are minified from the src/img directory.

Tools

  • Linting - ESLint (extended from eslint recommended) lints the JS with some custom rules as well. Use npm lint to manually run it. If you want to lint on every git commit see here
  • Hot reloading - SCSS changes are injected. HTML and JS changes reload the page.

About

A simple front end boilerplate using Gulp, Babel, Scss, ESLint and Browsersync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published