@baukit/pwa-web 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -6
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @baukit/pwa-web
1
+ # `@baukit/pwa-web`
2
2
 
3
3
  `@baukit/pwa-web` decides which caching strategy a PWA service worker should apply to a request.
4
4
  The decision is a pure function over the request's method, URL, mode, and destination. Nothing in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baukit/pwa-web",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Pure-function caching-strategy decisions for PWA service workers.",
5
5
  "license": "MIT",
6
6
  "author": "Patrick Koss",
@@ -33,14 +33,15 @@
33
33
  "README.md",
34
34
  "LICENSE"
35
35
  ],
36
- "devDependencies": {
37
- "typescript": "6.0.3",
38
- "vitest": "4.1.10"
39
- },
40
36
  "scripts": {
41
37
  "build": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node --input-type=module -e \"import { writeFileSync } from 'node:fs'; writeFileSync('dist/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\"",
38
+ "prepare": "pnpm run build",
42
39
  "test": "vitest run --config ../../vitest.config.ts",
43
40
  "lint": "eslint src --max-warnings=0",
44
41
  "format:check": "prettier --check src package.json tsconfig.json tsconfig.cjs.json"
42
+ },
43
+ "devDependencies": {
44
+ "typescript": "6.0.3",
45
+ "vitest": "4.1.10"
45
46
  }
46
- }
47
+ }