This is an experiment in making a boilerplate setup that can be used to make static websites.
Flow requires node
, npm
and bash
It features:
mustache
for html templateshtml-minifier
critical
to inline critical csspostcss
postcss-import
to import other css files into one css filecssnext
for future css syntaxcssnano
to minify cssautoprefixer
uncss
to remove unused cssclean-css
browserify
babel
to use es6 nowuglifyjs
for minifying javascriptimagemin
for compressing imagesparallelshell
for executing commands simultaniouslysane
to watch files for changes and trigger rebuildsbrowser-sync
for refreshing the browser when changes happernnode-zopfli
to compress the files before deployment. This is siginficantly better than gzip.