UNPKG

toasted-notifier

Version:

Push notifications in NodeJS for MacOS, Windows 7 - 11, and Linux (Growl as fallback)

132 lines (131 loc) 4.49 kB
{ "name": "toasted-notifier", "version": "10.1.0", "description": "Push notifications in NodeJS for MacOS, Windows 7 - 11, and Linux (Growl as fallback)", "author": "Aetherinox", "homepage": "https://github.com/Aetherinox/node-toasted-notifier#readme", "license": "MIT", "main": "index.js", "build": { "appId": "com.ntfytoast.id" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/Aetherinox/node-toasted-notifier.git" }, "bugs": { "url": "https://github.com/Aetherinox/node-toasted-notifier/issues" }, "funding": [ { "type": "individual", "url": "https://buymeacoffee.com/aetherinox" } ], "contributors": [ { "name": "Aetherinox", "email": "118329232+Aetherinox@users.noreply.github.com", "url": "https://github.com/Aetherinox" } ], "keywords": [ "push notifications", "notifications", "macosx", "linux", "windows", "mac os x 10.8", "notify", "toasts", "toaster", "terminal-notifier", "notify-send", "growl", "windows 7", "windows 8", "windows 10", "windows 11" ], "scripts": { "prepare": "husky install", "pretest": "npm run lint", "lint": "eslint example/*.js lib/*.js notifiers/*.js test/**/*.js index.js", "pretty": "prettier . --write", "pretty:check": "prettier . --check", "pretty:ignore": "prettier . --write --ignore-unknown", "test": "jest", "example": "node ./example/message.js", "example:mac": "node ./example/advanced.js", "example:mac:input": "node ./example/macInput.js", "example:windows": "node ./example/toaster.js", "example:windows:persistent": "node ./example/toaster-persistent.js", "example:windows:actions": "node ./example/toaster-with-actions.js", "example:windows:custom-path": "noxenv DEBUG=notifier node ./example/toaster-custom-path.js", "copy-resources": "copyfiles -u 2 ./vendor/ntfyToast/ntfytoast.exe ./dist/example/resources/ && copyfiles -u 1 ./example/example_1.png ./dist/example/resources/", "preexample:windows:nexe-custom-path": "rimraf dist", "example:windows:nexe-custom-path": "nexe -t windows-x64-14.15.3 -i ./example/toaster-custom-path.js -o ./dist/toaster-custom-path.exe && npm run copy-resources", "postexample:windows:nexe-custom-path": "noxenv DEBUG=notifier ./dist/toaster-custom-path.exe", "contrib:add": "all-contributors add", "contrib:generate": "all-contributors generate", "ntfy": "node ntfy.js", "ntfy:generate": "node ntfy.js generate", "env-base": "npx --quiet env-cmd --no-override node ntfy.js", "env-uuid": "npx --quiet env-cmd --no-override node ntfy.js uuid", "env-guid": "npx --quiet env-cmd --no-override node ntfy.js guid", "env-version": "node -p require('./package.json').version;" }, "jest": { "testRegex": "/test/[^_]*.js", "testEnvironment": "node", "setupFilesAfterEnv": [ "./test/_test-matchers.js" ] }, "devDependencies": { "@aetherinox/noxenv": "^1.1.1", "@types/uuid": "^10.0.0", "@types/semver": "^7.7.0", "copyfiles": "^2.4.1", "eslint": "9.28.0", "eslint-plugin-chai-friendly": "^1.0.1", "eslint-plugin-import": "2.31.0", "eslint-plugin-n": "17.19.0", "eslint-plugin-promise": "7.2.1", "@stylistic/eslint-plugin-js": "^4.4.1", "husky": "^8.0.3", "jest": "^29.7.0", "lint-staged": "^13.0.3", "nexe": "^4.0.0-beta.19", "rimraf": "^3.0.2", "all-contributors-cli": "^6.26.1", "uuid": "^11.1.0" }, "dependencies": { "growly": "^1.3.0", "is-wsl": "^2.2.0", "semver": "^7.7.2", "shellwords": "^0.1.1", "which": "^2.0.2" }, "lint-staged": { "*.{js,json,css,md}": [ "prettier --write", "git add" ] }, "directories": { "example": "example", "test": "test" }, "files": [ "lib/", "notifiers/", "vendor/", "LICENSE.md", "README.md" ] }