{
"_from": "lock-verify@2.1.0",
"_id": "lock-verify@2.1.0",
"_inBundle": false,
"_integrity": "sha512-vcLpxnGvrqisKvLQ2C2v0/u7LVly17ak2YSgoK4PrdsYBXQIax19vhKiLfvKNFx7FRrpTnitrpzF/uuCMuorIg==",
"_location": "/npm/lock-verify",
"_phantomChildren": {},
"_requested": {
"escapedName": "lock-verify",
"fetchSpec": "2.1.0",
"name": "lock-verify",
"raw": "lock-verify@2.1.0",
"rawSpec": "2.1.0",
"registry": true,
"saveSpec": null,
"type": "version"
},
"_requiredBy": [
"#USER",
"/npm",
"/npm/libcipm",
"/npm/libnpm"
],
"_resolved": "https://registry.npmjs.org/lock-verify/-/lock-verify-2.1.0.tgz",
"_shasum": "fff4c918b8db9497af0c5fa7f6d71555de3ceb47",
"_shrinkwrap": null,
"_spec": "lock-verify@2.1.0",
"_where": "/Users/zkat/Documents/code/work/npm",
"author": {
"email": "me@re-becca.org",
"name": "Rebecca Turner",
"url": "http://re-becca.org/"
},
"bugs": {
"url": "https://github.com/iarna/lock-verify/issues"
},
"bundleDependencies": false,
"dependencies": {
"npm-package-arg": "^6.1.0",
"semver": "^5.4.1"
},
"deprecated": false,
"description": "Report if your package.json is out of sync with your package-lock.json.",
"devDependencies": {
"@iarna/cli": "^1.2.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/iarna/lock-verify#readme",
"keywords": [],
"license": "ISC",
"main": "index.js",
"name": "lock-verify",
"optionalDependencies": {},
"readme": "# lock-verify\n\nReport if your package.json is out of sync with your package-lock.json.\n\n## USAGE\n\n```\nconst lockVerify = require('lock-verify')\nlockVerify(moduleDir).then(result => {\n result.warnings.forEach(w => console.error('Warning:', w))\n if (!result.status) {\n result.errors.forEach(e => console.error(e))\n process.exit(1)\n }\n})\n```\n\nAs a library it's a function that takes the path to a module and returns a\npromise that resolves to an object with `.status`, `.warnings` and `.errors`\nproperties. The first will be true if everything was ok (though warnings\nmay exist). If there's no `package.json` or no lockfile in `moduleDir` or they're\nunreadable then the promise will be rejected.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/iarna/lock-verify.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "2.1.0"
}