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