UNPKG

use-pwa

Version:

React hook for PWA installation detection and handling

66 lines (65 loc) 1.44 kB
{ "author": "piro0919", "bugs": { "url": "https://github.com/piro0919/use-pwa/issues" }, "description": "React hook for PWA installation detection and handling", "devDependencies": { "@biomejs/biome": "2.2.0", "@serwist/next": "^9.4.2", "@types/node": "25.0.3", "@types/react": "^19.2.7", "babel-plugin-react-compiler": "^1.0.0", "lefthook": "^2.0.13", "next": "16.1.1", "react": "19.2.3", "react-dom": "19.2.3", "serwist": "^9.4.2", "tsup": "^8.5.1", "typescript": "^5" }, "exports": { ".": { "import": { "default": "./dist/index.mjs", "types": "./dist/index.d.mts" }, "require": { "default": "./dist/index.js", "types": "./dist/index.d.ts" } } }, "files": [ "dist" ], "homepage": "https://use-pwa.kkweb.io", "keywords": [ "react", "hook", "pwa", "progressive-web-app", "install-prompt", "a2hs" ], "license": "MIT", "name": "use-pwa", "peerDependencies": { "react": ">=17.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/piro0919/use-pwa.git" }, "scripts": { "build": "next build", "build:lib": "tsup", "dev": "next dev", "format": "biome format --write", "lint": "biome check", "prepublishOnly": "npm run build:lib", "start": "next start" }, "sideEffects": false, "version": "3.0.1" }