UNPKG

catch-exit

Version:

Catch Node.js exit conditions, including errors and unhandled rejections.

108 lines (107 loc) 3.69 kB
{ "name": "catch-exit", "version": "2.0.0", "description": "Catch Node.js exit conditions, including errors and unhandled rejections.", "keywords": [ "catch", "exit", "process", "kill", "error", "death", "cleanup", "clean up", "callback", "nodejs", "node js", "node", "catch exit", "catch-exit", "unhandledRejection", "uncaughtException", "SIGINT", "SIGHUP", "SIGTERM", "SIGQUIT" ], "homepage": "https://github.com/electrovir/catch-exit", "bugs": { "url": "https://github.com/electrovir/catch-exit/issues" }, "repository": { "type": "git", "url": "git+https://github.com/electrovir/catch-exit.git" }, "license": "(MIT or CC0 1.0)", "author": { "name": "electrovir", "url": "https://github.com/electrovir" }, "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "compile": "virmator compile", "docs": "virmator docs", "format": "virmator format", "lint": "virmator lint fix", "publish": "virmator publish npm run test:all", "start": "tsx src/index.ts", "test": "virmator test node", "test:all": "npm run compile && concurrently --colors --kill-others-on-fail -c auto --names tests,spelling,format,docs,deps,lint \"npm run test:coverage\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:docs\" \"npm run test:deps\" \"npm run test:lint\"", "test:coverage": "npm run test coverage", "test:deps": "virmator deps check", "test:docs": "virmator docs check", "test:format": "virmator format check", "test:lint": "virmator lint", "test:spelling": "virmator spellcheck", "test:update": "npm run test update" }, "dependencies": { "human-signals": "8.0.0" }, "devDependencies": { "@augment-vir/assert": "^31.6.0", "@augment-vir/node": "^31.6.0", "@augment-vir/test": "^31.6.0", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.14.0", "@stylistic/eslint-plugin": "^2.12.1", "@stylistic/eslint-plugin-ts": "^2.12.1", "@types/node": "22.10.5", "@typescript-eslint/eslint-plugin": "^8.19.1", "c8": "^10.1.3", "cspell": "^8.17.1", "dependency-cruiser": "^16.9.0", "esbuild": "^0.24.2", "eslint": "^9.14.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jsdoc": "^50.6.1", "eslint-plugin-monorepo-cop": "^1.0.2", "eslint-plugin-playwright": "^2.1.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-require-extensions": "^0.1.3", "eslint-plugin-sonarjs": "^3.0.1", "eslint-plugin-unicorn": "^56.0.1", "istanbul-smart-text-reporter": "^1.1.5", "markdown-code-example-inserter": "^3.0.3", "npm-check-updates": "^17.1.13", "prettier": "~3.3.3", "prettier-plugin-interpolated-html-tags": "^2.0.0", "prettier-plugin-jsdoc": "^1.3.2", "prettier-plugin-multiline-arrays": "^4.0.2", "prettier-plugin-organize-imports": "^4.1.0", "prettier-plugin-packagejson": "^2.5.6", "prettier-plugin-sort-json": "~4.0.0", "prettier-plugin-toml": "^2.0.1", "tsx": "^4.19.2", "typedoc": "^0.27.6", "typescript": "^5.7.3", "typescript-eslint": "^8.19.1", "virmator": "^13.11.2" }, "engines": { "node": ">=12" } }