Skip to content

dcunited001/frontend-gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Gulp

A template for frontend web development with GulpJS, which includes:

  • Tasks for JS/JSHint, Less, Image compression, Web Components
  • Concatenation & Minification of JS, CSS, and your Web Components
  • Includes Polymer's core-elements & paper-elements
  • Error handling that doesn't break gulp watch
  • Nice gulp-notify configuration, with different sounds for success & failure

Getting Started

  1. npm install -g bower gulp
  2. npm install
  3. bower install
  4. gulp to build
  • gulp clean to clean dist folder
  • export NODE_ENV=production && gulp to build using production values set in config.json
  1. gulp watch to set up a filechange watch
  2. gulp webserver to run the gulp-webserver to serve static files
  3. Connect to http://localhost:8000

Deploying

The app is hosted at development.oscillate.divshot.io. Divshot is a service to host completely static sites.

Deploy with the following:

  1. NODE_ENV=divshot gulp
  2. divshot push

References

Official Docs:

Intro Blogs

Error Handling Blogs

Vulcanize Web Components

Gulp & Angular Templates

Polymer/Angular SEO

About

a frontend project using gulp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published