UNPKG

@marblejs-contrib/middleware-joi

Version:

A joi validation middleware for Marble.js

64 lines (63 loc) 1.57 kB
{ "name": "@marblejs-contrib/middleware-joi", "version": "1.0.0", "description": "A joi validation middleware for Marble.js", "main": "dist/index.js", "types": "./dist/index.d.ts", "scripts": { "start": "yarn watch", "watch": "tsc -w", "build": "tsc", "test": "jest --config jest.config.js", "clean": "rimraf dist tsconfig.tsbuildinfo", "postinstall": "node ./deprecation.js", "prepublish:package": "yarn clean && yarn build && yarn test", "prepublish:package:dev": "yarn prepublish:package", "publish:package": "npx np", "publish:package:dev": "npx np --tag dev" }, "files": [ "dist/", "deprecation.js" ], "keywords": [ "marble.js", "joi", "middleware", "http", "rxjs" ], "repository": { "type": "git", "url": "git+https://github.com/marblejs/contrib.git" }, "engines": { "node": ">= 8.0.0", "yarn": ">= 1.7.0", "npm": ">= 5.0.0" }, "author": "Lúcio Rubens <luciorubeens@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/marblejs/contrib/issues" }, "homepage": "https://github.com/marblejs/contrib#readme", "peerDependencies": { "@marblejs/core": "^4.0.0-rc.3", "@marblejs/http": "^4.0.0-rc.3", "fp-ts": "^2.4.2", "rxjs": "^7.1.0" }, "dependencies": { "@types/joi": "^14.0.0", "joi": "~14.3.0" }, "devDependencies": { "@marblejs/core": "^4.0.0-rc.3", "@marblejs/http": "^4.0.0-rc.3", "@marblejs/testing": "^4.0.0-rc.3" }, "publishConfig": { "access": "public" } }