forked from validatorjs/validator.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.74 KB
/
package.json
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
{
"name": "validator",
"description": "String validation and sanitization",
"version": "10.4.0",
"homepage": "http://github.com/chriso/validator.js",
"files": [
"index.js",
"lib",
"README.md",
"LICENCE",
"validator.js",
"validator.min.js"
],
"keywords": [
"validator",
"validation",
"validate",
"sanitization",
"sanitize",
"sanitisation",
"sanitise",
"assert"
],
"author": "Chris O'Hara <[email protected]>",
"main": "index.js",
"bugs": {
"url": "http://github.com/chriso/validator.js/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/chriso/validator.js.git"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.24.0",
"babel-preset-es2015-rollup": "^3.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": "^2.7.1",
"uglify-js": "^3.0.19"
},
"scripts": {
"lint": "eslint src test",
"lint:fix": "eslint --fix src test",
"clean:node": "rm -rf index.js lib",
"clean:browser": "rm -rf validator*.js",
"clean": "npm run clean:node && npm run clean:browser",
"minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments /Copyright/",
"build:browser": "babel-node build-browser && npm run minify",
"build:node": "babel src -d . --presets es2015 --plugins add-module-exports",
"build": "npm run build:browser && npm run build:node",
"pretest": "npm run lint && npm run build",
"test": "mocha --reporter dot"
},
"engines": {
"node": ">= 0.10"
},
"license": "MIT"
}