init source
This commit is contained in:
+72
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"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.14.0",
|
||||
"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": [
|
||||
"src",
|
||||
"check",
|
||||
"filter",
|
||||
"!**/*.spec.ts",
|
||||
"!**/*.ts",
|
||||
"**/*.d.ts",
|
||||
"!website",
|
||||
"!docs"
|
||||
],
|
||||
"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 .",
|
||||
"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.21",
|
||||
"validator": "^13.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/lodash": "^4.14.168",
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.0",
|
||||
"@typescript-eslint/parser": "^4.14.0",
|
||||
"docusaurus": "^1.14.7",
|
||||
"eslint": "^7.18.0",
|
||||
"eslint-config-prettier": "^7.1.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"jest": "^26.6.3",
|
||||
"prettier": "^2.2.1",
|
||||
"ts-jest": "^26.4.4",
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"keywords": [
|
||||
"express",
|
||||
"validator",
|
||||
"validation",
|
||||
"validate",
|
||||
"sanitize",
|
||||
"sanitization",
|
||||
"xss"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user