express-validator
Version:
Express middleware for the validator module.
74 lines (73 loc) • 2.07 kB
JSON
{
"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>",
"Federico Ciardi <fed.ciardi@gmail.com>"
],
"version": "6.9.2",
"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": {
"build": "tsc",
"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 --ignore-path .gitignore 'src/**/*.ts' && prettier -c .",
"report-coverage": "cat coverage/lcov.info | coveralls",
"version": "npm run docs:version -- $npm_package_version && npm run docs:build && git add -A website"
},
"engines": {
"node": ">= 8.0.0"
},
"dependencies": {
"lodash": "^4.17.20",
"validator": "^13.5.2"
},
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/lodash": "^4.14.165",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"coveralls": "^3.1.0",
"docusaurus": "^1.14.6",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.3",
"prettier": "^2.2.0",
"ts-jest": "^26.4.4",
"typescript": "^3.9.7"
},
"keywords": [
"express",
"validator",
"validation",
"validate",
"sanitize",
"sanitization",
"xss"
]
}