UNPKG

error-advisor

Version:

NPM module that aim to facilitate the error handling by providing http errors classes and also let you customize business errors as well with handy and clean way.

59 lines (58 loc) 1.57 kB
{ "name": "error-advisor", "version": "1.1.9", "description": "NPM module that aim to facilitate the error handling by providing http errors classes and also let you customize business errors as well with handy and clean way.", "engines": { "node": "10" }, "main": "lib/index.js", "scripts": { "clean": "rimraf dist/*", "test": "echo \"Error: no test specified\"", "lint": "tslint -c tslint.json -p tsconfig.json --fix", "build": "tsc", "format": "prettier --write \"src/**/*.ts\"", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git@github.com:3rabie/error-advisor.git" }, "files": [ "lib/**/*" ], "keywords": [ "Typescript", "NodeJS", "NPM", "npm", "Module", "Error", "ErrorHandling", "Advisor", "Handling", "ErrorAdvisor", "Exceptions", "Http", "HttpErrors", "Validation" ], "author": "Abdulrahman Rabie Draz", "license": "MIT", "bugs": { "url": "https://github.com/3rabie/error-advisor/issues" }, "homepage": "https://github.com/3rabie/error-advisor#readme", "devDependencies": { "@types/node": "^14.14.25", "prettier": "^2.2.1", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.2.2", "winston": "^3.3.3" } }