UNPKG

2.01 kBJSONView Raw
1{
2 "name": "express-validator",
3 "description": "Express middleware for the validator module.",
4 "author": "Christoph Tavan <dev@tavan.de>",
5 "contributors": [
6 "Rusty Bailey <rustylbailey@gmail.com>",
7 "Gustavo Henke <guhenke@gmail.com>",
8 "Federico Ciardi <fed.ciardi@gmail.com>"
9 ],
10 "version": "6.13.0",
11 "homepage": "https://express-validator.github.io",
12 "license": "MIT",
13 "repository": {
14 "type": "git",
15 "url": "git://github.com/express-validator/express-validator.git"
16 },
17 "main": "./src/index.js",
18 "types": "./src/index.d.ts",
19 "files": [
20 "src",
21 "check",
22 "filter",
23 "!**/*.spec.ts",
24 "!**/*.ts",
25 "**/*.d.ts",
26 "!website",
27 "!docs"
28 ],
29 "scripts": {
30 "build": "tsc",
31 "clean": "git clean -Xf src check filter",
32 "docs:build": "npm --prefix ./website run build",
33 "docs:publish": "USE_SSH=true CURRENT_BRANCH=master npm --prefix ./website run publish-gh-pages",
34 "docs:start": "npm --prefix ./website start",
35 "docs:version": "npm --prefix ./website run version",
36 "prepublishOnly": "tsc",
37 "test": "jest",
38 "lint": "eslint --ignore-path .gitignore 'src/**/*.ts' && prettier -c .",
39 "version": "npm run docs:version -- $npm_package_version && npm run docs:build && git add -A website"
40 },
41 "engines": {
42 "node": ">= 8.0.0"
43 },
44 "dependencies": {
45 "lodash": "^4.17.21",
46 "validator": "^13.6.0"
47 },
48 "devDependencies": {
49 "@types/jest": "^26.0.20",
50 "@types/lodash": "^4.14.168",
51 "@typescript-eslint/eslint-plugin": "^4.14.0",
52 "@typescript-eslint/parser": "^4.14.0",
53 "docusaurus": "^1.14.7",
54 "eslint": "^7.18.0",
55 "eslint-config-prettier": "^7.1.0",
56 "eslint-plugin-import": "^2.22.1",
57 "eslint-plugin-prettier": "^3.3.1",
58 "jest": "^26.6.3",
59 "prettier": "^2.2.1",
60 "ts-jest": "^26.4.4",
61 "typescript": "^3.9.7"
62 },
63 "keywords": [
64 "express",
65 "validator",
66 "validation",
67 "validate",
68 "sanitize",
69 "sanitization",
70 "xss"
71 ]
72}