UNPKG

push-notification-service

Version:

Push notification package for web applications using service worker

58 lines (57 loc) 1.38 kB
{ "name": "push-notification-service", "version": "1.0.31", "description": "Push notification package for web applications using service worker", "main": "dist/index.cjs", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/John-Fixit/push-notification-package.git" }, "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./client": { "import": "./dist/client.mjs", "require": "./dist/client.cjs", "browser": "./dist/client.umd.js" }, "./server": { "import": "./dist/server.mjs", "require": "./dist/server.cjs" } }, "bin": { "create-sw": "./scripts/create-sw.js" }, "scripts": { "build": "rollup -c", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "push-notification", "service-worker", "web-push", "notification", "notification-service" ], "author": "John Adeoye", "license": "MIT", "peerDependencies": { "express": "^4.21.2" }, "dependencies": { "web-push": "^3.6.7" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "cors": "^2.8.5", "express": "^4.21.2", "rollup": "^2.79.2", "rollup-plugin-terser": "^7.0.2" } }