UNPKG

express-validator

Version:

Express middleware for the validator module.

72 lines (71 loc) 1.94 kB
{ "name": "express-validator", "description": "Express middleware for the validator module.", "author": "Christoph Tavan <dev@tavan.de>", "contributors": [ "Rusty Bailey <rustylbailey@gmail.com>", "Gustavo Henke <guhenke@gmail.com>" ], "version": "6.1.1", "homepage": "https://express-validator.github.io", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/express-validator/express-validator.git" }, "main": "./src/index.js", "types": "./src/index.d.ts", "files": [ "docs", "src", "check", "filter", "!*.spec.ts", "!*.ts", "*.d.ts" ], "scripts": { "clean": "git clean -Xf src check filter", "docs:build": "npm --prefix ./website run build", "docs:publish": "USE_SSH=true CURRENT_BRANCH=master npm --prefix ./website run publish-gh-pages", "docs:start": "npm --prefix ./website start", "docs:version": "npm --prefix ./website run version", "prepublishOnly": "tsc", "test": "jest", "lint": "eslint 'src/**/*.ts'", "report-coverage": "cat coverage/lcov.info | coveralls", "version": "npm run docs:version -- $npm_package_version && git add -A website" }, "engines": { "node": ">= 8.0.0" }, "dependencies": { "lodash": "^4.17.11", "validator": "^11.0.0" }, "devDependencies": { "@types/jest": "^24.0.15", "@types/lodash": "^4.14.134", "@typescript-eslint/eslint-plugin": "^1.10.2", "@typescript-eslint/parser": "^1.10.2", "coveralls": "^3.0.4", "docusaurus": "^1.11.1", "eslint": "^5.16.0", "eslint-config-prettier": "^4.3.0", "eslint-plugin-import": "^2.17.3", "eslint-plugin-prettier": "^3.1.0", "jest": "^24.8.0", "prettier": "^1.18.2", "ts-jest": "^24.0.2", "typescript": "^3.5.2" }, "keywords": [ "express", "validator", "validation", "validate", "sanitize", "sanitization", "xss" ] }