2023-05-16 10:50:42 +08:00

108 lines
2.9 KiB
JSON
Executable File

{
"_args": [
[
"validator@12.2.0",
"/Users/easysoft/src/xuan/xxc/app"
]
],
"_from": "validator@12.2.0",
"_id": "validator@12.2.0",
"_inBundle": false,
"_integrity": "sha512-jJfE/DW6tIK1Ek8nCfNFqt8Wb3nzMoAbocBF6/Icgg1ZFSBpObdnwVY2jQj6qUqzhx5jc71fpvBWyLGO7Xl+nQ==",
"_location": "/validator",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "validator@12.2.0",
"name": "validator",
"escapedName": "validator",
"rawSpec": "12.2.0",
"saveSpec": null,
"fetchSpec": "12.2.0"
},
"_requiredBy": [
"/nodejs-traceroute"
],
"_resolved": "https://registry.npmjs.org/validator/-/validator-12.2.0.tgz",
"_spec": "12.2.0",
"_where": "/Users/easysoft/src/xuan/xxc/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": "^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",
"nyc": "^14.1.0",
"rollup": "^0.43.0",
"rollup-plugin-babel": "^4.0.1",
"uglify-js": "^3.0.19"
},
"engines": {
"node": ">= 0.10"
},
"files": [
"index.js",
"es",
"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 && npm run build:es",
"build:browser": "node --require @babel/register build-browser && npm run minify",
"build:es": "babel src -d es --env-name=es",
"build:node": "babel src -d .",
"clean": "npm run clean:node && npm run clean:browser && npm run clean:es",
"clean:browser": "rm -rf validator*.js",
"clean:es": "rm -rf es",
"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": "nyc mocha --require @babel/register --reporter dot"
},
"sideEffects": false,
"version": "12.2.0"
}