Super fast progressive web app with small footprint & minimal dependancies
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0aa6cab Aug 11, 2017
Permalink
Failed to load latest commit information.
src Bind to PORT env variable if present Jun 8, 2017
.gitignore more tweaks May 6, 2017
.npmrc tidy up deps Apr 11, 2017
Dockerfile dockerize May 9, 2017
LICENSE initial commit Dec 29, 2016
README.md deploy https://preact-pwa-yfxiijbzit.now.sh/ May 21, 2017
build.js actions May 21, 2017
package.json Update package.json Aug 3, 2017
uglify.json flatten Apr 27, 2017
yarn.lock update deps May 13, 2017

README.md

preact-pwa

A Super fast progressive web app with a small footprint & minimal dependencies.

Features universal rendering, redux, state-driven routing, preact, & service workers. Crunched & optimized with rollup, buble, optimize-js, & purify-css.

Live version (zeit): https://preact-pwa-yfxiijbzit.now.sh/

bundle sizes & performance

Bundle Size:            28.63 KB, 9.64 KB Gzipped
Webpage test:           A, A, A
pagespeed:              100
lighthouse:             100

Getting Started

Prerequisites

Make sure that Node v7 is installed.

Make sure that yarn is installed.

Instructions

First, clone the repo

$ git clone https://github.com/ezekielchentnik/preact-pwa

Then, install all dependencies:

$ yarn

Finally, to run the project for development:

$ yarn dev

Or, to run the project for production:

$ yarn start

performance insights (note: incomplete)

manifest.json

Using 192x192 for minimum sized icon, omitting other sizes to reduce downloads for users reference

libraries

  • we can shave off ~10 KB, ~3kb Gzipped by pruning preact-redux & manually connecting

Features

License

MIT