Skip to content

👌 A simple boilerplate with Gulp, Stylus, ES6, Nunjucks and Browsersync.

License

Notifications You must be signed in to change notification settings

damoclesgil/boilerplate-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate WebSite

Build a static website with quality and agility.

Instructions

  1. Install: NodeJS and Gulp

  2. Clone the project:

$ git clone https://github.com/damoclesgil/boilerplate-website.git
  1. Then go to the project's folder:
$ cd boilerplate-website
  1. Install dependencies:
$ npm install
  1. run:
$ gulp

Now the local dev is running at localhost:8080 😄

Tasks

  • gulp: run all tasks for development and initialize watch for changes and a server
  • gulp -p: run all tasks for production and initialize watch for changes and a server
  • gulp nunjucks: compile html files
  • gulp js: execute js files
  • gulp css: compile css files
  • gulp images: compress image files
  • gulp svgs: minify svgs files
  • gulp sprite-svg: generate sprite svg
  • gulp watch: call for watch files
  • gulp browser-sync: inicialize a server
  • gulp deploy-surge: run all tasks and deploy files to surge
  • gulp deploy-gh: run all tasks and deploy files to gh-pages

NPM Scripts

  • npm run lint: lint all js errors, prepush and precommit
  • npm run fix: fix all js errors

License

MIT License © Dâmocles Gil

Workspace Settings

About

👌 A simple boilerplate with Gulp, Stylus, ES6, Nunjucks and Browsersync.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published