UNPKG

pushkit

Version:

Everything you need to enable Web Push Notification in your Node.JS web application. Uses the browser's delivery channel to send push notification(Free of cost), which means no extra third-party service (except for the browser's own delivery channel). Wor

39 lines (38 loc) 1.19 kB
{ "name": "pushkit", "version": "3.2.1", "keywords": [ "push", "notification", "pushnotification", "web push", "self hosted push", "web-push", "service worker", "pwa", "progressive web app" ], "homepage": "https://theanam.github.io/pushkit", "repository": { "type": "git", "url": "git@github.com:theanam/pushkit.git" }, "main": "server/index.js", "types": "server/setver.d.ts", "license": "MIT", "dependencies": { "web-push": "^3.4.4" }, "devDependencies": { "clipboard": "^2.0.6", "parcel-bundler": "^1.12.4", "sass": "^1.26.8" }, "scripts": { "build-client": "parcel build client/index.js -d client/dist --global pushKit", "watch-client": "parcel watch client/index.js -d client/dist --global pushKit", "publish-page": "yarn build-example && npx gh-pages -d dist-example && rm -rf dist-example", "run-example": "mkdir -p temp-example && cp example/sw.js temp-example/ && parcel example/index.html -d temp-example", "build-example": "parcel build example/index.html -d dist-example --public-url /pushkit && cp example/sw.js dist-example && cp example/pushkit.png dist-example" } }