UNPKG

react-ios-pwa-prompt

Version:

A React component to prompt the user to add the app as a PWA to the home screen with native iOS styles.

57 lines (56 loc) 1.49 kB
{ "name": "react-ios-pwa-prompt", "author": "@chrisdancee", "description": "A React component to prompt the user to add the app as a PWA to the home screen with native iOS styles.", "private": false, "version": "2.0.6", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "keywords": [ "pwa", "prompt", "add to home screen", "iOS", "progressive web app", "native" ], "files": [ "dist" ], "repository": { "type": "git", "url": "https://github.com/chrisdancee/react-ios-pwa-prompt.git" }, "sideEffects": [ "**/*.css" ], "scripts": { "dev": "vite --host", "build": "tsc --p ./tsconfig-build.json && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@types/node": "^20.11.30", "@types/react": "^18.2.71", "@types/react-dom": "^18.2.22", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vitejs/plugin-react": "^4.2.1", "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", "glob": "^10.3.10", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.4.3", "vite": "^4.5.3", "vite-plugin-dts": "^3.7.3", "vite-plugin-lib-inject-css": "^2.0.1" } }