{"name":"git-toplevel","version":"1.0.2","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"},"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":"97b8b268edc8cd8b877f15f88b8cc4f41e2f1afa","bugs":{"url":"https://github.com/royriojas/git-toplevel/issues"},"homepage":"https://github.com/royriojas/git-toplevel","_id":"git-toplevel@1.0.2","_shasum":"a0c44fed08bfc4f404d9ced300c44c91d5a714fe","_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":"a0c44fed08bfc4f404d9ced300c44c91d5a714fe","tarball":"http://registry-npm.ywwl.com/git-toplevel/download/git-toplevel-1.0.2.tgz","integrity":"sha512-WyI/6PqqkMfrAb0whlb8AyUwfxPJZvxv+NtsJKoMcOkkqbSLECs2ba94RM6G43Kyt1gOr1Drxw8a5zYviA15ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC31Hc49M7zyK0dWTs/eSx+0AbmMiAI50djPGankmvJlwIgSS0Wp51N6oOk/6dqHSdexAIJdXaGhJ2sjhl6MNyx/yk="}],"size":8376,"noattachment":false,"key":"/git-toplevel/-/git-toplevel-1.0.2.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":1426556752767,"_cnpm_publish_time":1426556752767,"dist-tags":{"latest":"1.1.1"}}