UNPKG

2.15 kBJSONView Raw
1{
2 "name": "validator",
3 "description": "String validation and sanitization",
4 "version": "13.12.0",
5 "sideEffects": false,
6 "homepage": "https://github.com/validatorjs/validator.js",
7 "files": [
8 "index.js",
9 "es",
10 "lib",
11 "README.md",
12 "LICENCE",
13 "validator.js",
14 "validator.min.js"
15 ],
16 "keywords": [
17 "validator",
18 "validation",
19 "validate",
20 "sanitization",
21 "sanitize",
22 "sanitisation",
23 "sanitise",
24 "assert"
25 ],
26 "author": "Chris O'Hara <cohara87@gmail.com>",
27 "contributors": [
28 "Anthony Nandaa (https://github.com/profnandaa)"
29 ],
30 "main": "index.js",
31 "bugs": {
32 "url": "https://github.com/validatorjs/validator.js/issues"
33 },
34 "repository": {
35 "type": "git",
36 "url": "git+https://github.com/validatorjs/validator.js.git"
37 },
38 "devDependencies": {
39 "@babel/cli": "^7.0.0",
40 "@babel/core": "^7.0.0",
41 "@babel/preset-env": "^7.0.0",
42 "@babel/register": "^7.0.0",
43 "babel-eslint": "^10.0.1",
44 "babel-plugin-add-module-exports": "^1.0.0",
45 "eslint": "^4.19.1",
46 "eslint-config-airbnb-base": "^12.1.0",
47 "eslint-plugin-import": "^2.11.0",
48 "mocha": "^6.2.3",
49 "npm-run-all": "^4.1.5",
50 "nyc": "^14.1.0",
51 "rimraf": "^3.0.0",
52 "rollup": "^0.47.0",
53 "rollup-plugin-babel": "^4.0.1",
54 "timezone-mock": "^1.3.6",
55 "uglify-js": "^3.0.19"
56 },
57 "scripts": {
58 "lint": "eslint src test",
59 "lint:fix": "eslint --fix src test",
60 "clean:node": "rimraf index.js lib",
61 "clean:es": "rimraf es",
62 "clean:browser": "rimraf validator*.js",
63 "clean": "run-p clean:*",
64 "minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments /Copyright/",
65 "build:browser": "node --require @babel/register build-browser && npm run minify",
66 "build:es": "babel src -d es --env-name=es",
67 "build:node": "babel src -d .",
68 "build": "run-p build:*",
69 "pretest": "npm run build && npm run lint",
70 "test": "nyc --reporter=cobertura --reporter=text-summary mocha --require @babel/register --reporter dot --recursive"
71 },
72 "engines": {
73 "node": ">= 0.10"
74 },
75 "license": "MIT"
76}