middy-middleware-json-error-handler
Version:
A middy JSON error handler middleware.
98 lines (97 loc) • 2.88 kB
JSON
{
"name": "middy-middleware-json-error-handler",
"version": "4.0.0",
"description": "A middy JSON error handler middleware.",
"homepage": "",
"license": "MIT",
"author": {
"name": "Daniel Bartholomae",
"email": "daniel@bartholomae.name",
"url": ""
},
"files": [
"lib"
],
"main": "./lib/index.js",
"keywords": [
"middy",
"middleware",
"error",
"http",
"json"
],
"types": "lib/index.d.ts",
"engines": {
"npm": ">= 4.0.0"
},
"private": false,
"dependencies": {
"debug": "^4.3.4",
"serialize-error": "^8.1.0",
"tslib": "^2.3.0"
},
"peerDependencies": {
"@middy/core": ">=1.0.0"
},
"directories": {
"docs": "docs",
"example": "examples"
},
"scripts": {
"build": "rimraf ./lib && tsc --project tsconfig.build.json",
"docs": "typedoc",
"pretest": "npm run build",
"release": "semantic-release",
"start": "cd test && serverless offline",
"test": "npm run lint && npm run test:unit && npm run test:integration && pkg-ok",
"test:integration": "concurrently --kill-others --success first \"cd test && serverless offline\" \"wait-on http://localhost:3000/dev/status && jest -c jest.integration.config.js\"",
"test:unit": "jest",
"lint": "tslint --project tsconfig.json",
"lint:fix": "tslint --project tsconfig.json --fix",
"precommit:lint:fix": "tslint --project tsconfig.json --fix"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@middy/core": "^4.4.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^10.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.3",
"@semantic-release/release-notes-generator": "^11.0.1",
"@types/aws-lambda": "^8.10.81",
"@types/debug": "^4.1.7",
"@types/http-errors": "^2.0.1",
"@types/jest": "^29.5.1",
"@types/node": "^20.1.4",
"@types/supertest": "^2.0.11",
"aws-lambda": "*",
"codecov": "^3.8.3",
"concurrently": "^8.0.1",
"cross-env": "^7.0.3",
"http-errors": "^2.0.0",
"husky": "^8.0.1",
"jest": "^27.0.6",
"jest-junit": "^16.0.0",
"lint-staged": "^13.0.0",
"pkg-ok": "^3.0.0",
"prettier-standard": "^16.4.1",
"rimraf": "^5.0.0",
"semantic-release": "^21.0.2",
"serverless": "^3.4.0",
"serverless-offline": "^8.5.0",
"serverless-webpack": "^5.6.1",
"source-map-support": "^0.5.19",
"supertest": "^6.1.4",
"ts-jest": "^27.1.3",
"ts-loader": "^9.4.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-consistent-codestyle": "^1.16.0",
"typedoc": "^0.24.7",
"typescript": "^4.9.5",
"wait-on": "^7.0.1",
"webpack": "^5.82.1"
},
"repository": "git@github.com:dbartholomae/middy-middleware-json-error-handler.git"
}