UNPKG

@feathers-plus/validate-joi

Version:

Feathers hook utility for schema validation, sanitization, and client notification using Joi.

67 lines (66 loc) 1.96 kB
{ "name": "@feathers-plus/validate-joi", "version": "3.4.0", "description": "Feathers hook utility for schema validation, sanitization, and client notification using Joi.", "main": "index.js", "scripts": { "lint": "eslint --ext .js,.jsx .", "test": "mocha --reporter spec", "cover": "node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- -R spec test/*", "publish": "git push origin --tags && git push origin", "release:pre": "npm version prerelease && npm publish --tag pre", "release:patch": "npm version patch && npm publish", "release:minor": "npm version minor && npm publish", "release:major": "npm version major && npm publish" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/feathers-plus/validate-joi.git" }, "keywords": [ "feathers", "feathersjs", "hook", "hooks", "validate", "validation", "joi" ], "author": "John Szwaronek <johnsz9999@gmail.com>", "contributors": [ "Luis A. Salas <betinho8901@gmail.com>", "Marshall Thompson <marshall@creativeideal.net>" ], "license": "MIT", "bugs": { "url": "https://github.com/feathers-plus/validate-joi/issues" }, "homepage": "https://github.com/feathers-plus/validate-joi#readme", "dependencies": { "@feathersjs/errors": "^4.5.1", "@hapi/joi": "^17.0.0", "@types/hapi__joi": "^16.0.12", "feathers-hooks-common": "^5.0.2", "joi-errors-for-forms": "^0.2.2", "lodash": "^4.17.15" }, "devDependencies": { "babel-eslint": "^10.0.3", "chai": "^4.2.0", "coveralls": "^3.0.9", "eslint": "6.8.0", "eslint-config-airbnb": "18.0.1", "eslint-plugin-import": "2.20.1", "eslint-plugin-jsx-a11y": "6.2.3", "eslint-plugin-react": "7.18.3", "istanbul": "^0.4.5", "mocha": "^7.0.1", "mongodb": "^3.5.5" }, "engines": { "node": ">4.2.4" } }