{"name":"git-toplevel","version":"1.0.3","description":"Method to find the top level git directory","main":"index.js","scripts":{"beautify":"esbeautifier index.js 'specs/**/*.js'","beautify-check":"esbeautifier -k index.js 'specs/**/*.js'","eslint":"eslinter index.js 'specs/**/*.js'","test":"mocha-runner 'specs/**/*.js'","cover":"istanbul cover -x 'specs/**/*.js' mocha-runner 'specs/**/*.js' html text-summary","watch":"npm run cover && watch-spawn -p 'specs/**/*.js' -p 'index.js'' npm run cover","lint":"npm run beautify && npm run eslint && npm test","check":"npm run beautify-check && npm run eslint && npm test","install-hooks":"changelogx install-hook && prepush install","bump":"bumpery --verify='npm run check'","changelog":"changelogx -f markdown -o ./changelog.md"},"keywords":["git-toplevel","git root directory","git"],"repository":{"type":"git","url":"https://github.com/royriojas/git-toplevel"},"license":"MIT","author":{"name":"Roy Riojas","url":"http://royriojas.com"},"prepush":["npm run check"],"dependencies":{"clix":"^1.0.5","es6-promise":"^2.0.1","lodash.trim":"^3.0.1"},"devDependencies":{"bumpery":"^1.0.4","changelogx":"^1.0.11","esbeautifier":"^2.0.3","eslinter":"^1.0.0","istanbul":"^0.3.8","mocha-runner":"^1.0.5","prepush":"^2.0.3","proxyquire":"^1.4.0","read-file":"^0.1.2","watch-spawn":"^1.0.3"},"changelogx":{"issueIDRegExp":"#(\\d+)","commitURL":"https://github.com/royriojas/git-toplevel/commit/{0}","authorURL":"https://github.com/{0}","issueIDURL":"https://github.com/royriojas/git-toplevel/issues/{0}","projectName":"changelogx"},"gitHead":"e65503899de29fd8be1a4d2813df9e2a346a8ac8","bugs":{"url":"https://github.com/royriojas/git-toplevel/issues"},"homepage":"https://github.com/royriojas/git-toplevel","_id":"git-toplevel@1.0.3","_shasum":"992a1a6e98a151148d287330e9a4be6b6c3118cd","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.12.0","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}],"dist":{"shasum":"992a1a6e98a151148d287330e9a4be6b6c3118cd","tarball":"http://registry-npm.ywwl.com/git-toplevel/download/git-toplevel-1.0.3.tgz","integrity":"sha512-MwIXeYIsaYbTaWkpIX43I+qybwZ+nZUClj9OAHcUs/YBT5L8ENpoKnObH7QKcCgEh0rc9rwZ1KxbOIvLwfDHsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw1P9m0KuG9QAXw2crQS/gpxPV3JGaum9RmAqVePcKdgIhAOL+gR5oAsw0gTBa6jyAzwOeZdbm05aw0xEOOqhSyh7u"}],"size":8598,"noattachment":false,"key":"/git-toplevel/-/git-toplevel-1.0.3.tgz"},"directories":{},"readme":"[![NPM Version](http://img.shields.io/npm/v/git-toplevel.svg?style=flat)](https://npmjs.org/package/git-toplevel)\n[![Build Status](http://img.shields.io/travis/royriojas/git-toplevel.svg?style=flat)](https://travis-ci.org/royriojas/git-toplevel)\n\n# git-toplevel\n> Method to find the top level git directory\n\n## Install\n```bash\nnpm i --save git-toplevel\n```\n\n## Usage\n```javascript\nvar gitTopLevel = require('git-toplevel');\n\ngitTopLevel().then(function(dir) {\n  // dir ===> the git root \n}).catch(function(err) {\n  // err ===> any error that happen when trying to get the top level dir\n});\n```\n\n## Lincense\n\nMIT\n\n## [Changelog](./changelog.md)","publish_time":1427266604308,"_cnpm_publish_time":1427266604308,"dist-tags":{"latest":"1.1.1"}}