UNPKG

nestjs-joi

Version:

Easy to use JoiPipe as an interface between joi and NestJS with optional decorator-based schema construction.

91 lines (90 loc) 3.16 kB
{ "name": "nestjs-joi", "version": "1.11.0", "description": "Easy to use JoiPipe as an interface between joi and NestJS with optional decorator-based schema construction.", "scripts": { "test:unit": "NODE_ENV=testing jest -c .jest-unit.json --watchAll", "test:unit:debug": "NODE_ENV=testing node --inspect-brk=0.0.0.0:9229 -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest -c .jest-unit.json --runInBand", "test:unit:once": "NODE_ENV=testing jest -c .jest-unit.json", "posttest:unit:once": "npm run check", "test:api": "NODE_ENV=testing jest -c .jest-api.json --watchAll", "test:api:debug": "NODE_ENV=testing node --inspect-brk=0.0.0.0:9229 -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest -c .jest-api.json --runInBand", "test:api:once": "NODE_ENV=testing jest -c .jest-api.json", "clean": "rm -rf dist/", "compile": "npm run clean && echo Compiling... && tsc -p .", "compile:dist": "npm run clean && echo Compiling... && tsc -p tsconfig.dist.json", "check": "eslint -c .eslintrc.fix.json '{src,test}/**/*.{ts,js}'", "fix": "eslint -c .eslintrc.fix.json --fix '{src,test}/**/*.{ts,js}'", "precommit": "lint-staged" }, "keywords": [ "nestjs", "joi" ], "author": "William Hefter", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/whefter/nestjs-joi" }, "main": "index.js", "types": "index.d.ts", "typings": "index.d.ts", "dependencies": { "joi-class-decorators": "^1.1.2" }, "devDependencies": { "@apollo/server": "^4.9.1", "@commitlint/cli": "^17.7.2", "@commitlint/config-conventional": "^17.7.0", "@elunic/ecs-prettier": "^0.2.1", "@elunic/ecs-tsconfig": "^0.1.1", "@elunic/eslint-config-ecs": "^0.1.10", "@nestjs/apollo": "^12.0.7", "@nestjs/common": "^10.1.3", "@nestjs/core": "^10.1.3", "@nestjs/graphql": "^12.0.7", "@nestjs/microservices": "^10.1.3", "@nestjs/platform-express": "^10.1.3", "@nestjs/testing": "^10.1.3", "@types/eslint": "^7.2.6", "@types/jest": "^26.0.14", "@types/lodash": "^4.14.161", "@types/node": "^14.11.2", "@types/prettier": "^2.1.1", "@types/sinon": "^9.0.7", "@types/source-map-support": "^0.5.3", "@types/supertest": "^2.0.10", "eslint": "^7.19.0", "graphql": "^16.7.1", "graphql-tools": "^8.2.0", "husky": "^4.3.0", "jest": "^29.7.0", "jest-junit": "^13.0.0", "joi": "^17.2.1", "lint-staged": "^11.0.0", "lodash": "^4.17.21", "prettier": "^2.1.2", "reflect-metadata": "^0.1.13", "sinon": "^9.1.0", "source-map-support": "^0.5.19", "supertest": "^5.0.0", "ts-jest": "^29.2.5", "ts-loader": "^8.0.4", "ts-node": "^9.0.0", "tsconfig-paths": "^3.9.0", "type-fest": "^1.0.1", "typescript": "~4.4.0" }, "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "joi": "^17.2.1" }, "engines": { "node": ">= 16.0.0" }, "publishConfig": { "access": "public" } }