trapx
Version:
A plug-and-play middleware for standardized error handling in TypeScript-based Express.js applications
65 lines (64 loc) • 1.59 kB
JSON
{
"name": "trapx",
"version": "1.1.0",
"description": "A plug-and-play middleware for standardized error handling in TypeScript-based Express.js applications",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest",
"lint": "eslint . --ext .ts",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/odlemon/trapx.git"
},
"keywords": [
"express",
"middleware",
"error-handling",
"typescript",
"nodejs",
"express-middleware",
"error-middleware",
"express-error-handling",
"typescript-express"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/odlemon/trapx/issues"
},
"homepage": "https://github.com/odlemon/trapx#readme",
"dependencies": {
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"peerDependencies": {
"express": "^4.x"
},
"files": [
"dist",
"README.md",
"LICENSE",
"examples"
],
"engines": {
"node": ">=14.0.0"
}
}