@baukit/pwa-web 0.4.0 → 0.5.0

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 (1) hide show
  1. package/package.json +10 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baukit/pwa-web",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Cache strategy, cleanup, and a classic worker artifact for web PWAs.",
5
5
  "license": "MIT",
6
6
  "author": "Patrick Koss",
@@ -37,17 +37,18 @@
37
37
  "README.md",
38
38
  "LICENSE"
39
39
  ],
40
- "devDependencies": {
41
- "rolldown": "1.2.3",
42
- "typescript": "6.0.3",
43
- "vitest": "4.1.10"
44
- },
45
40
  "scripts": {
46
41
  "build": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node scripts/build-worker.mjs && node --input-type=module -e \"import { writeFileSync } from 'node:fs'; writeFileSync('dist/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}\\\\n')\"",
47
- "test": "pnpm run build && vitest run --config ../../vitest.config.ts && pnpm run test:artifact && pnpm run test:package",
42
+ "prepare": "pnpm run build",
43
+ "test": "pnpm run build && tsc -p tsconfig.test.json && vitest run --config ../../vitest.config.ts && pnpm run test:artifact && pnpm run test:package",
48
44
  "test:artifact": "node scripts/test-artifact.mjs",
49
45
  "test:package": "node scripts/test-package.mjs",
50
46
  "lint": "eslint src --max-warnings=0",
51
- "format:check": "prettier --check src scripts package.json tsconfig.json tsconfig.cjs.json"
47
+ "format:check": "prettier --check src scripts package.json tsconfig.json tsconfig.test.json tsconfig.cjs.json"
48
+ },
49
+ "devDependencies": {
50
+ "rolldown": "1.2.3",
51
+ "typescript": "6.0.3",
52
+ "vitest": "4.1.10"
52
53
  }
53
- }
54
+ }