101 lines
2.6 KiB
JSON
101 lines
2.6 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
"validator@10.8.0",
|
||
|
"/root/Node/notes-app"
|
||
|
]
|
||
|
],
|
||
|
"_from": "validator@10.8.0",
|
||
|
"_id": "validator@10.8.0",
|
||
|
"_inBundle": false,
|
||
|
"_integrity": "sha512-mXqMxfCh5NLsVgYVKl9WvnHNDPCcbNppHSPPowu0VjtSsGWVY+z8hJF44edLR1nbLNzi3jYoYsIl8KZpioIk6g==",
|
||
|
"_location": "/validator",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"type": "version",
|
||
|
"registry": true,
|
||
|
"raw": "validator@10.8.0",
|
||
|
"name": "validator",
|
||
|
"escapedName": "validator",
|
||
|
"rawSpec": "10.8.0",
|
||
|
"saveSpec": null,
|
||
|
"fetchSpec": "10.8.0"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/validator/-/validator-10.8.0.tgz",
|
||
|
"_spec": "10.8.0",
|
||
|
"_where": "/root/Node/notes-app",
|
||
|
"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": "^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"
|
||
|
},
|
||
|
"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": "babel-node build-browser && npm run minify",
|
||
|
"build:node": "babel src -d . --presets es2015 --plugins add-module-exports",
|
||
|
"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 --reporter dot"
|
||
|
},
|
||
|
"version": "10.8.0"
|
||
|
}
|