{"name":"is-git-repository","version":"2.0.0","description":"A tool to check if a specific path is a git repository","main":"./dest/index.js","types":"./dest/index.d.ts","scripts":{"test":"jest","lint":"eslint index.ts test.spec.ts","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rimraf dest && tsc && babel dest -d dest","prepublishOnly":"npm run build"},"husky":{"hooks":{"pre-push":"npm test","pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts}":["eslint --fix"]},"repository":{"type":"git","url":"git+https://github.com/JPeer264/node-is-git-repository.git"},"keywords":["is","git","repository","repo","is-git","exists"],"author":{"name":"Jan Peer Stöcklmair"},"license":"MIT","bugs":{"url":"https://github.com/JPeer264/node-is-git-repository/issues"},"homepage":"https://github.com/JPeer264/node-is-git-repository#readme","dependencies":{"execa":"^4.0.3","is-absolute":"^1.0.0"},"devDependencies":{"@babel/cli":"^7.10.4","@types/is-absolute":"^1.0.0","@types/jest":"^26.0.4","@types/uuid":"^8.0.0","@typescript-eslint/eslint-plugin":"^3.6.0","@typescript-eslint/parser":"^3.6.0","babel-plugin-add-module-exports":"^1.0.2","coveralls":"^3.1.0","eslint":"^7.4.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.0","husky":"^4.2.5","jest":"^26.1.0","lint-staged":"^10.2.11","rimraf":"^3.0.2","ts-jest":"^26.1.1","typescript":"^3.9.6"},"gitHead":"2dc323baf76a56783718f1a72f41c3aec354f88e","_id":"is-git-repository@2.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-HDO50CG5suIAcmqG4F1buqVXEZRPn+RaXIn9pFKq/947FBo2bCRwK7ZluEVZOy99a4IQyqsjbKEpAiOXCccOHQ==","shasum":"fa036007fe9697198c2c89dac4dd8304a6101e1c","tarball":"http://registry-npm.ywwl.com/is-git-repository/download/is-git-repository-2.0.0.tgz","fileCount":12,"unpackedSize":6890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGdl6CRA9TVsSAnZWagAAWCEP/19dtYaq45fRDNjZ8ZFD\nayc6++Ccf6mf8kl4ta5OGebzWIVwJ00EvgDBoK5wKtRPHiMOXObN2O0mWfiz\n6USTHjFDDG18Cdob2XRDYJItbWosdQYZWRuVVkKZouYacOj58/ypdc5PVsXi\nBgW6i/QVk6hi80lYOXBRCD/1SRZSxF/2KihbzTl5ofg9yOB9B+DkNMS6yuAg\nfAdTGqaDoIdW2un31ND/PJe1r+6xzNB5o5rLxwv6PbbToo56d8h1buevg4zG\nuzlweGFO5GXdQ8cc01lSbpCElDP6sOpASPpVAA+moGt+j4GfQ6b3//yxwZMa\nZ4q39W9hhQvBzWpDpEaYogxyLWH8GvXKzRRAnvShAcyQDS0gU6ZXfa7dtvrJ\nQjbLTqpYID7hTDTPI3dBPZKIilVOexQLymzRoLY5C3IeVAFf2g8XG81wWBCG\nm8ZJhE2iBL7fTTlfdK4mAeG/60RJNoFI/Wph0dpaTJT8uBFg5ibt+kR4Wx8F\nnmqqa9pxEPqT+84YBDvOn0cr3YDeteycyBvpOHyzMj4J52IDOQ1VkAyrrZoT\nQrXQgidvdo8rqzD8Id2KA+I7c/ntC3LDHES0Vm6v15upeaBZNwKW62ctkltE\nCAjd3prL1Qhaw3KhYwVLKAkFHGD2raaekuLmPZxntGJS5vmtq1rfjO1bwvtU\nubki\r\n=uDOI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrbwjsMxo78/u3SMF2QS+ZYXeP1XhebAW/qHkn/WOz/AiBkCSRoYLi/UA8Y/AkEcVbxXc6n6TzsD9+U1CvVt/iGzw=="}],"size":3398,"noattachment":false,"key":"/is-git-repository/-/is-git-repository-2.0.0.tgz"},"maintainers":[{"name":"jpeer","email":"janpeer264@gmail.com"}],"_npmUser":{"name":"jpeer","email":"janpeer264@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-git-repository_2.0.0_1595529593625_0.23716686441595392"},"_hasShrinkwrap":false,"readme":"# is-git-repository\n\n[![Build Status](https://travis-ci.com/JPeer264/node-is-git-repository.svg?branch=main)](https://travis-ci.com/JPeer264/node-is-git-repository)\n[![Build status](https://ci.appveyor.com/api/projects/status/candvk0h292r03q2?svg=true)](https://ci.appveyor.com/project/JPeer264/node-is-git-repository)\n[![Coverage Status](https://coveralls.io/repos/github/JPeer264/node-is-git-repository/badge.svg?branch=main)](https://coveralls.io/github/JPeer264/node-is-git-repository?branch=main)\n\nChecks synchronously if a specific directory is a git repository\n\n## Installation\n\n```sh\n$ npm i is-git-repository --save\n```\nor\n```sh\n$ yarn add is-git-repository\n```\n\n## Usage\n\n```js\nconst isGit = require('is-git-repository');\n\nisGit(); // true or false of process.cwd()\nisGit('any/git/repo'); // true or false\n```\n\n## LICENSE\n\nMIT © [Jan Peer Stöcklmair](https://www.jpeer.at)\n","publish_time":1595529593730,"_cnpm_publish_time":1595529593730,"dist-tags":{"latest":"3.0.0"}}