GitXplorerGitXplorer
H

gulp-boilerplate-static

public
12 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
051f9f82a4eba1b80daa4c4b4f61fe8f11627f23

remove irrelevant task calls

HHaroenv committed 8 years ago
Unverified
493d704ec6419d171f3bcc6433d99de8f6571d82

don't track dist

HHaroenv committed 8 years ago
Unverified
d0c06d9158d337746d15c9f2cc0f89e9fa4fc15f

update to pug and browsersync

HHaroenv committed 8 years ago
Unverified
8dcb3ad867233aad66e53ec931252c803a7bd163

cssnano

HHaroenv committed 9 years ago
Unverified
d55c91116189b567f28655a7da4cee52e5c30339

includes

HHaroenv committed 9 years ago
Unverified
f539b7a7e7d42277a19abf6d45a1ec014fe52449

initial commit

HHaroenv committed 9 years ago

README

The README file for this repository.

Gulp static boilerplate

A boilerplate you can make your sites with.

specifics

  • html written in pug (jade)
  • css
    • written in scss
    • minified
    • autoprefixed
  • js
    • browserified (you can use require('something'))
    • minified
    • checked with jshint
    • babel for ES6
  • images
    • optimised (slight loss in quality)
    • lossless optimisations
  • gulp for building
  • editorconfig
  • BrowserSync (localhost:3000)

folder structure

*.pug
includes/
  *.pug
src/
    js/
        *.js
    scss/
        *.scss
    img/
        *.svg
        *.png
        *.jpg
assets
    *.*
dist
    #output
gulpfile.js
package.json
.jshintrc
.editorconfig
.gitignore

usage

First install all node packages with npm install, then you can build the site with gulp, and if you want to keep watching for changes after that gulp watch (both at the same time is done with gulp default watch).

license

MIT