next-pwa-pack
Version:
PWA cache provider for Next.js/React apps (service worker, manifest, offline page, SPA cache, offline)
55 lines (54 loc) • 1.42 kB
JSON
{
"name": "next-pwa-pack",
"author": "Andrew Murashko",
"version": "2.0.0",
"description": "PWA cache provider for Next.js/React apps (service worker, manifest, offline page, SPA cache, offline)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"pwa",
"service worker",
"manifest",
"offline",
"offline page",
"nextjs",
"react",
"cache"
],
"license": "MIT",
"peerDependencies": {
"next": ">=12.0.0",
"react": ">=17.0.0"
},
"dependencies": {
"inquirer": "^9.2.16"
},
"files": [
"dist",
"sw.js",
"manifest.json",
"offline.html",
"scripts",
"src/client-actions.ts"
],
"scripts": {
"build": "tsc && npm run build:min && npm run build:post",
"build:min": "node ./scripts/minify-dist.js",
"build:post": "node ./scripts/add-use-client.js",
"copy-pwa-files": "node ./scripts/copy-pwa-files.mjs",
"copy-pwa-server-actions": "node ./scripts/copy-pwa-server-actions.mjs",
"postinstall": "npm run copy-pwa-files && npm run copy-pwa-server-actions"
},
"devDependencies": {
"typescript": "^5.8.3",
"terser": "^5.30.3"
},
"repository": {
"type": "git",
"url": "https://github.com/dev-family/next-pwa-pack.git"
},
"bugs": {
"url": "https://github.com/dev-family/next-pwa-pack/issues"
},
"homepage": "https://github.com/dev-family/next-pwa-pack#readme"
}