package.json
2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"_args": [
[
"validator@10.11.0",
"/Users/ye/Desktop/NodeBook/nodejs-book/ch12/12.4/node-auction"
]
],
"_from": "validator@10.11.0",
"_id": "validator@10.11.0",
"_inBundle": false,
"_integrity": "sha512-X/p3UZerAIsbBfN/IwahhYaBbY68EN/UQBWHtsbXGT5bfrH/p4NQzUCG1kF/rtKaNpnJ7jAu6NGTdSNtyNIXMw==",
"_location": "/validator",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "validator@10.11.0",
"name": "validator",
"escapedName": "validator",
"rawSpec": "10.11.0",
"saveSpec": null,
"fetchSpec": "10.11.0"
},
"_requiredBy": [
"/sequelize"
],
"_resolved": "https://registry.npmjs.org/validator/-/validator-10.11.0.tgz",
"_spec": "10.11.0",
"_where": "/Users/ye/Desktop/NodeBook/nodejs-book/ch12/12.4/node-auction",
"author": {
"name": "Chris O'Hara",
"email": "cohara87@gmail.com"
},
"bugs": {
"url": "https://github.com/chriso/validator.js/issues"
},
"contributors": [
{
"name": "Anthony Nandaa",
"url": "https://github.com/profnandaa"
}
],
"description": "String validation and sanitization",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-plugin-add-module-exports": "^1.0.0",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.11.0",
"mocha": "^5.1.1",
"rollup": "^0.43.0",
"rollup-plugin-babel": "^4.0.1",
"uglify-js": "^3.0.19"
},
"engines": {
"node": ">= 0.10"
},
"files": [
"index.js",
"lib",
"README.md",
"LICENCE",
"validator.js",
"validator.min.js"
],
"homepage": "https://github.com/chriso/validator.js",
"keywords": [
"validator",
"validation",
"validate",
"sanitization",
"sanitize",
"sanitisation",
"sanitise",
"assert"
],
"license": "MIT",
"main": "index.js",
"name": "validator",
"repository": {
"type": "git",
"url": "git+https://github.com/chriso/validator.js.git"
},
"scripts": {
"build": "npm run build:browser && npm run build:node",
"build:browser": "node --require @babel/register build-browser && npm run minify",
"build:node": "babel src -d .",
"clean": "npm run clean:node && npm run clean:browser",
"clean:browser": "rm -rf validator*.js",
"clean:node": "rm -rf index.js lib",
"lint": "eslint src test",
"lint:fix": "eslint --fix src test",
"minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments /Copyright/",
"pretest": "npm run lint && npm run build",
"test": "mocha --require @babel/register --reporter dot"
},
"version": "10.11.0"
}