{"name":"git-toplevel","version":"1.1.0","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":"watch-spawn -i -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","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog'"},"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.3.0","jq-trim":"^0.1.0"},"devDependencies":{"bumpery":"^1.1.1","changelogx":"^1.0.15","esbeautifier":"^3.2.0","eslinter":"^2.0.6","istanbul":"^0.3.17","mocha-runner":"^1.0.8","prepush":"^2.0.4","proxyquire":"^1.6.0","read-file":"^0.2.0","watch-spawn":"^1.0.3"},"gitHead":"c6b853987d3c727eee096a3fa02c38d3a69e57ba","bugs":{"url":"https://github.com/royriojas/git-toplevel/issues"},"homepage":"https://github.com/royriojas/git-toplevel","_id":"git-toplevel@1.1.0","_shasum":"d6b0ab91073ca39b0a95927a459008428e12a747","_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":"d6b0ab91073ca39b0a95927a459008428e12a747","tarball":"http://registry-npm.ywwl.com/git-toplevel/download/git-toplevel-1.1.0.tgz","integrity":"sha512-KFnQY26IGwAhZUq9E68FTIRZOOsmAb3dVbb94OvYCAnuo7KI2s3a5IDY19/u0B4pyHRdFNyxvF38KVm3J0lsvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwsD7DOv8re1o4C6P+v2Kf6qzw21I8hXadnYbkrSF1awIhAM5IyqHUyVhOPCNqMzJPJxEM7MkO6Va7U66juzW4XMyR"}],"size":3221,"noattachment":false,"key":"/git-toplevel/-/git-toplevel-1.1.0.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":1437814116461,"_cnpm_publish_time":1437814116461,"dist-tags":{"latest":"1.1.1"}}