chore: update readme and package descriptions

This commit is contained in:
Ayo Ayco 2024-08-24 21:26:58 +02:00
parent 41532fca6d
commit 7de664c451
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,8 @@
[![Package information: NPM version](https://img.shields.io/npm/v/@ayco/astro-sw)](https://www.npmjs.com/package/@ayco/astro-sw) [![Package information: NPM version](https://img.shields.io/npm/v/@ayco/astro-sw)](https://www.npmjs.com/package/@ayco/astro-sw)
[![Package information: NPM license](https://img.shields.io/npm/l/@ayco/astro-sw)](https://www.npmjs.com/package/@ayco/astro-sw) [![Package information: NPM license](https://img.shields.io/npm/l/@ayco/astro-sw)](https://www.npmjs.com/package/@ayco/astro-sw)
[![Bundle Size](https://img.shields.io/bundlephobia/minzip/@ayco/astro-sw)](#library-size)
Use your own authored service worker with Astro.
The integration accepts the path to your own authored [service worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) and automatically injects dynamic variables such as `__assets` generated by Astro for caching. The integration accepts the path to your own authored [service worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) and automatically injects dynamic variables such as `__assets` generated by Astro for caching.

View file

@ -1,7 +1,7 @@
{ {
"name": "@ayco/astro-sw", "name": "@ayco/astro-sw",
"version": "0.8.5", "version": "0.8.5",
"description": "Simple Astro integration to use your own authored service worker", "description": "Use your own authored service worker with Astro",
"homepage": "https://github.com/ayoayco/astro-sw", "homepage": "https://github.com/ayoayco/astro-sw",
"repository": { "repository": {
"type": "git", "type": "git",