JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 42
  • Score
    100M100P100Q38083F
  • License MIT

Static site generator with page-speed optimisations

Package Exports

  • web-boost

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web-boost) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.