web-boost

1.4.0 • Public • Published

web-boost

web-boost - boost your static site development.

Description

Web-boost is a static site generator with page-speed optimisations. You build a dynamic site by using templating language, CSS preprocessor and routing - web-boost will compile it into highly optimised static pages.

  • Uglify, concat & minify javascript files
  • Compile, concat & minify css/scss/sass files
  • Compile & minify twig templates
  • Optimise image files (supported .jpg and .png, others will be skipped)

To speed-up compilation, all the minified files (.min.css and .min.js) will be just concatenated

Installation

npm install -g web-boost (Global installation is optional)

Linux users should previously install sudo apt-get install libpng-dev

Demo application

Try the demo application to learn web-boost in practice.

asciicast

You can also build your application by following the structure

Commands

  • Run the application: wb-run* or node node_modules/web-boost/bin/run.js**
  • Prepare for deploy: wb-compile* or node node_modules/web-boost/bin/compile.js**
  • Generate sitemap.xml: wb-sitemap* or node node_modules/web-boost/bin/sitemap.js**

* if web-boost is installed globally, ** - locally

@todo:

Improvements

  • If you are facing some issues, please check FAQs, or don't hesitate to open an issue
  • If you have an idea how to improve this module, feel free to contribute or open an issue with enhancement label

We will get back to you as soon as possible.

Credits

Projects using web-boost

License

This repository can be used under the MIT license.

See LICENSE for more details.

Readme

Keywords

Package Sidebar

Install

npm i web-boost

Weekly Downloads

0

Version

1.4.0

License

MIT

Unpacked Size

30.3 kB

Total Files

23

Last publish

Collaborators

  • ddimitrioglo