@webxsid/nest-exception
Version:
A centralized exception handling module for NestJS applications. It provides structured error management, logging, and automatic exception handling.
108 lines (107 loc) • 3.08 kB
JSON
{
"name": "@webxsid/nest-exception",
"version": "1.1.0",
"description": "A centralized exception handling module for NestJS applications. It provides structured error management, logging, and automatic exception handling.",
"author": "Siddharth Mittal <me@webxsid.com>",
"private": false,
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"keywords": [
"nestjs",
"exception",
"error-handling",
"nestjs-exception",
"nestjs-errors",
"global-exception",
"nestjs-error-handler",
"custom-exceptions",
"error-logger",
"nestjs-middleware",
"nestjs-module",
"nestjs-error-middleware",
"nestjs-http-exception",
"nestjs-global-error",
"nestjs-error-management"
],
"scripts": {
"prepare": "yarn build",
"build": "nest build",
"prepublishOnly": "yarn test",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"test": "jest",
"test:unit": "jest --testPathPattern=src",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand"
},
"dependencies": {},
"peerDependencies": {
"@nestjs/common": "^11.0.9",
"@nestjs/core": "^11.0.9",
"@nestjs/platform-express": "^11.0.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@nestjs/cli": "^11.0.0",
"@nestjs/common": "^11.0.9",
"@nestjs/config": "^4.0.0",
"@nestjs/core": "^11.0.9",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@swc/cli": "^0.6.0",
"@swc/core": "^1.10.7",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@types/supertest": "^6.0.2",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.2",
"globals": "^15.14.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}