Skip to content

GSS-FED/gulp-starter-kit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp Starter Kit

Basic starter kit for gulp development. Included Sass, Less, Jade, HTML, Eslint, and browserSync.

Based on gulp-starter-kit by cjies.

About

The main Gulp tasks that included in gulp/tasks :

  • browserSync - BrowserSync
  • deploy - Deploy Allthings
  • development - Build Dev Code with Dev Server
  • production - Build Production Code
  • watch - Gulp Watch
  • server - Run a Express-dev-server
  • css - Compile CSS with autoprefixer & minify
  • sass - libSass Compiler, support autoprefixer & Compass Mixins
  • less - Less Compiler, also support autoprefixer & Compass Mixins
  • scripts - JS, support concat & uglify.
  • lint - Linter with Eslint, config in .eslintrc
  • vendor - Vendor for JS & CSS (will be bundled into each single file)
  • html - HTML Watcher, support minify
  • jade - Jade Template Compiler, support ignore underscore file
  • images - Images minify
  • fonts - move fonts from static to build folder
  • locales - minify JSON
  • gzip - Gzip for html|xml|json|css|js|js.map|css.map
  • test - Unit Test with Karma

Configuration

All Gulp config are written in gulp/tasks/config.js

Dev, Prod & Watch's tasks can be configured in the end of config.js.

Install

npm install

Development

Running Dev server

npm start

Deploy

Building Production Code

npm run build

Test

Run Unit Test

npm run test

Karma config file: tests/karma.config.js

License

MIT © GSS Front End Department

About

Basic Gulp Starter Kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.8%
  • HTML 1.5%
  • CSS 0.7%