Build a static website with quality and agility.
$ git clone https://github.com/damoclesgil/boilerplate-website.git
- Then go to the project's folder:
$ cd boilerplate-website
- Install dependencies:
$ npm install
- run:
$ gulp
Now the local dev is running at localhost:8080 😄
gulp
: run all tasks for development and initialize watch for changes and a servergulp -p
: run all tasks for production and initialize watch for changes and a servergulp nunjucks
: compile html filesgulp js
: execute js filesgulp css
: compile css filesgulp images
: compress image filesgulp svgs
: minify svgs filesgulp sprite-svg
: generate sprite svggulp watch
: call for watch filesgulp browser-sync
: inicialize a servergulp deploy-surge
: run all tasks and deploy files to surgegulp deploy-gh
: run all tasks and deploy files to gh-pages
npm run lint
: lint all js errors, prepush and precommitnpm run fix
: fix all js errors