UNPKG

@joellesenne/express-validation-error

Version:

Simple Middleware to manage exceptions within express error in asynchronous

70 lines (69 loc) 2.02 kB
{ "name": "@joellesenne/express-validation-error", "version": "1.0.4", "private": false, "description": "Simple Middleware to manage exceptions within express error in asynchronous", "keywords": [ "Express", "ValidationError", "errorHandler", "Mocha" ], "homepage": "https://github.com/joellesenne/express-validation-error#readme", "bugs": { "url": "https://github.com/joellesenne/express-validation-error/issues" }, "repository": { "type": "git", "url": "git+https://github.com/joellesenne/express-validation-error.git" }, "license": "MIT", "author": { "name": "Joël Lesenne", "email": "contact@joellesenne.dev", "url": "https://joellesenne.dev" }, "main": "lib/ValidationError.js", "directories": { "lib": "lib" }, "scripts": { "prettier": "prettier --write 'lib/**/*.js'", "prettier:onchange": "onchange 'lib/**/*.js' -- prettier --write {{changed}}", "test:mocha": "mocha test/index.test.js" }, "devDependencies": { "babel-core": "6.26.3", "babel-eslint": "10.1.0", "babel-plugin-transform-runtime": "6.23.0", "babel-preset-env": "1.7.0", "chai": "4.3.4", "eslint": "7.26.0", "eslint-config-prettier": "8.3.0", "eslint-config-standard": "16.0.2", "eslint-plugin-import": "2.23.2", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-promise": "5.1.0", "eslint-plugin-standard": "4.1.0", "mocha": "8.4.0", "onchange": "7.1.0", "prettier": "2.3.0" }, "engines": { "node": ">=16.0.0", "npm": ">=7.13.0" }, "standard": { "globals": [ "describe", "context", "before", "beforeEach", "after", "afterEach", "it", "expect" ] } }