@zkochan/pnpm
Version:
Fast, disk space efficient package manager
119 lines (118 loc) • 5.14 kB
JSON
{
"_args": [
[
{
"raw": "graceful-git@^2.0.0",
"scope": null,
"escapedName": "graceful-git",
"name": "graceful-git",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/git-resolver"
]
],
"_from": "graceful-git@>=2.0.0 <3.0.0",
"_id": "graceful-git@2.0.0",
"_inCache": true,
"_location": "/graceful-git",
"_nodeVersion": "9.10.1",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/graceful-git_2.0.0_1535306719901_0.3417793516377947"
},
"_npmUser": {
"name": "zkochan",
"email": "z@kochan.io"
},
"_npmVersion": "6.4.0",
"_phantomChildren": {},
"_requested": {
"raw": "graceful-git@^2.0.0",
"scope": null,
"escapedName": "graceful-git",
"name": "graceful-git",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/@pnpm/git-resolver"
],
"_resolved": "https://registry.npmjs.org/graceful-git/-/graceful-git-2.0.0.tgz",
"_shasum": "17cd7de1e2abfc9e1fe01925b0c5a2bd7221f746",
"_shrinkwrap": null,
"_spec": "graceful-git@^2.0.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/git-resolver",
"author": {
"name": "Zoltan Kochan",
"url": "https://www.kochan.io"
},
"bugs": {
"url": "https://github.com/zkochan/graceful-git/issues"
},
"dependencies": {
"execa": "^1.0.0",
"retry": "^0.12.0"
},
"description": "Executes git commands gracefully. Retries them on errors",
"devDependencies": {
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"package-preview": "^1.0.1",
"tape": "^4.6.3"
},
"directories": {},
"dist": {
"integrity": "sha512-nxsQiad5AcC7US0jJJCg7OcL0ISiPz+1f14oYhjEy2Y80FxRyH4vIH1S96/j+BIhkiFdvsEFC7D6Js/rSof03w==",
"shasum": "17cd7de1e2abfc9e1fe01925b0c5a2bd7221f746",
"tarball": "https://registry.npmjs.org/graceful-git/-/graceful-git-2.0.0.tgz",
"fileCount": 4,
"unpackedSize": 4033,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbguvgCRA9TVsSAnZWagAAZRwP/1maSZloBNTtxwQ7QR9i\nS/wTNDo9AuDR6+CAb2ixofba9vW9OdFSkdOlCJSpB9mvWrnDYo1hKTHFbHDd\nxMXCiRSKTnK81o7+8m4xP3cPiOX15hEb9wOGpRCkJXwEsUr7wClPQcLf2hZk\nn/JMNSn20tgkSrrnc7VdmzXsONl8177YrbEtQOBP4iLBIf1myoSYWBsvfMvC\n7ZFpKpYl6FGuyxZl2V8kpRZ7rMxz5aEqlfeonNM9pZ8yjxis+RqVtfxuONrE\n4eNo3LCWa1iL1M4YSx+OfEDer//cl52TnTbakn18JyL6jckBykX4nRxEMmbW\nJipnL6H7HCUvEMMlEcxPyWrgEqUADlvEj/qr8t+pvRztelIW7v08xHieC1jj\nj8dFiOKXZ0pUaSYjS+duuLxxKcEXbDyqCjekSpMFJIMAgAsgAJ6FRLz1n8EW\ngcFXRMK/9mDUEh4NXUZMI76j+tHbpEpLldx2V/OXSzSlWqtvysX4z+0s2E9/\nTK4pbbvSRJXc+QoNUvzKOQGAamd60B9vFm5ImBW8a9qDupkRmkfYz5RuHSdl\ngCrzx0IeH0H+ynuuc2+o2fGRhAV4eojquFl/jURAblOXnK+Ni/6MwQHZJLHe\nIJOZvyCnqFzo0jH63mtAGhCd5uA0PgLSwTWTHQcRYYCMQgxMpWuaBfXSmBtO\nTMQH\r\n=UjMO\r\n-----END PGP SIGNATURE-----\r\n"
},
"engines": {
"node": ">=6"
},
"files": [
"index.js"
],
"gitHead": "fb84606e66a6e1c68a184b58ae9dc972fdff6c82",
"homepage": "https://github.com/zkochan/graceful-git#readme",
"keywords": [
"git",
"retry",
"retries",
"exec"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"name": "graceful-git",
"optionalDependencies": {},
"readme": "# graceful-git\n\n> Executes git commands gracefully. Retries on errors\n\n<!--@shields('npm', 'travis')-->\n[](https://www.npmjs.com/package/graceful-git) [](https://travis-ci.org/zkochan/graceful-git)\n<!--/@-->\n\n## Installation\n\n```sh\nnpm i -S graceful-git\n```\n\n## Usage\n\n<!--@example('./example.js')-->\n```js\n'use strict'\nconst gracefulGit = require('graceful-git')\n\ngracefulGit(['status', 'README.md'])\n .then(result => console.log(result.stdout))\n .catch(err => console.error(err))\n //> On branch master\n // Your branch is based on 'origin/master', but the upstream is gone.\n // (use \"git branch --unset-upstream\" to fixup)\n // nothing to commit, working directory clean\n```\n<!--/@-->\n\n## API\n\n### `git(args, [opts]) => Promise`\n\n**Arguments:**\n\n- `args` - _string\\[]_ - arguments passed to the Git CLI\n- `opts.cwd` - _Path_ - the directory in which the Git command should be executed\n- `...opts` - _object_ - optional. Parameters used by [retry](https://www.npmjs.com/package/retry) when git operation fails.\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io)\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/zkochan/graceful-git.git"
},
"scripts": {
"md": "preview && mos",
"test": "preview && tape test.js"
},
"version": "2.0.0"
}