Skip to content

cloudfour/pwastats

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PWAStats

A directory of Progressive Web App case studies.

Contributing

See CONTRIBUTING.md

Developing

This site is built with Eleventy.

Quick start

This project relies on Node, and npm. Before following these steps you'll need to install node and npm if you haven't already.

Installation:

  1. Clone this repository.
  2. cd into the directory.
  3. Run npm ci to install dependencies.

For local development:

npm start

This will compile the site into the _site directory and run a local file server where you can preview the site: http://localhost:8080

For a single build:

npm run build

Fetching an icon for a PWA

npm run fetch-icon

This will ask you for the PWA url and the directory to download to. It will fetch the icon from the app's manifest.json.

Resizing icons

To resize all the PWA icons in images:

  1. Run npm install to install the dependencies
  2. Run npm run resize-images to automatically generate optimized 1x and 2x versions of the images