{"name":"git-toplevel","version":"1.0.0","description":"Yet another changelog generator from git commits, based on conventions and with an optional hook to enforce the rules","main":"index.js","scripts":{"beautify":"esbeautifier index.js 'specs/**/*.js'","beautify-check":"esbeautifier -k index.js 'specs/**/*.js'","eslint":"eslint --format 'node_modules/eslint-friendly-formatter' index.js specs/ -c './configs/eslint.json'","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","check":"npm run beautify && npm run eslint && npm test","prepush":"npm run beautify-check && npm run eslint && npm test"},"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 prepush"],"dependencies":{"clix":"^1.0.5","es6-promise":"^2.0.1","lodash.trim":"^3.0.1"},"devDependencies":{"esbeautifier":"^2.0.1","eslint":"^0.17.0","eslint-friendly-formatter":"^1.0.3","istanbul":"^0.3.8","mocha-runner":"^1.0.5","prepush":"^1.0.3","proxyquire":"^1.4.0","read-file":"^0.1.2","watch-spawn":"^1.0.3"},"gitHead":"dcae11f89d09727bd3f300f2da3094a85ed49381","bugs":{"url":"https://github.com/royriojas/git-toplevel/issues"},"homepage":"https://github.com/royriojas/git-toplevel","_id":"git-toplevel@1.0.0","_shasum":"f7085111112635ee8e2313c0060119a0f220d877","_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":"f7085111112635ee8e2313c0060119a0f220d877","tarball":"http://registry-npm.ywwl.com/git-toplevel/download/git-toplevel-1.0.0.tgz","integrity":"sha512-R5kKFL87HeKG3s1LitFnUq88G1B3KQ4RoRFGJvmBGqXs3auSyCQNZyMCKC3qThQbUm6TbQYSe7VYzTbC+1eftA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGNxQBL9iuJILfACrRYTwecZ08xXjSjvZbuVkBzkpbrgIgY88jeTV4ZUjvQo93o/VfMPVuUaYc3e1NLlJsYtFf44w="}],"size":7713,"noattachment":false,"key":"/git-toplevel/-/git-toplevel-1.0.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":1426494955982,"_cnpm_publish_time":1426494955982,"dist-tags":{"latest":"1.1.1"}}