{"name":"git-toplevel","version":"1.1.1","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","changelog":"changelogx -f markdown -o ./changelog.md","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify","install-hooks":"prepush install && changelogx install-hook && precommit install","pre-v":"npm run check","post-v":"npm run do-changelog && git push --no-verify && git push --tags --no-verify","bump-major":"npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v","bump-minor":"npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v","bump-patch":"npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v"},"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"},"precommit":["npm run check"],"prepush":["npm run check"],"dependencies":{"es6-promise":"^3.0.2","jq-trim":"^0.1.1"},"devDependencies":{"changelogx":"^1.0.16","esbeautifier":"^4.2.5","eslinter":"^2.3.0","istanbul":"^0.3.17","mocha-runner":"^1.0.8","precommit":"^1.1.3","prepush":"^3.1.2","proxyquire":"^1.6.0","read-file":"^0.2.0","watch-spawn":"^1.0.4"},"gitHead":"8b74aaf335ed6fefe15fd61ba4a44a161f0485a4","bugs":{"url":"https://github.com/royriojas/git-toplevel/issues"},"homepage":"https://github.com/royriojas/git-toplevel","_id":"git-toplevel@1.1.1","_shasum":"d3879c6ca6120c8cb180c52842094c0cc9eadaca","_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":"d3879c6ca6120c8cb180c52842094c0cc9eadaca","tarball":"http://registry-npm.ywwl.com/git-toplevel/download/git-toplevel-1.1.1.tgz","integrity":"sha512-ytnF1ZpGVZZcvxbKIan88ixdW5XFcHh8eJn/54oJqXwDaB7n5rKXleaFMB0FooeVx5H2mXKZUpKL0XZ8DrknhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIjwZKQ3vi2yz1v5+KQBG/TwafSgXNRi8tIrWmHYxkqwIgaO+xNw4RLxGBWCmd1Oaznmp2YHUqGa2WUeHmnpsliEQ="}],"size":3347,"noattachment":false,"key":"/git-toplevel/-/git-toplevel-1.1.1.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":1439327897679,"_cnpm_publish_time":1439327897679,"dist-tags":{"latest":"1.1.1"}}