{"name":"blamer","version":"1.0.1","description":"blamer is a tool for getting information about author of code from version control system","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/kucherenko/blamer.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && open-cli coverage/index.html","cov:html":"nyc report --reporter=lcov","cov:send":"nyc report --reporter=lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","prepare-release":"run-s reset test cov:check doc:html version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"execa":"^4.0.0","which":"^2.0.2","xml2js":"^0.4.23"},"devDependencies":{"@bitjson/npm-scripts-info":"^1.0.0","@bitjson/typedoc":"^0.15.0-0","@istanbuljs/nyc-config-typescript":"^0.1.3","@types/sinon":"^7.5.2","@types/which":"^1.3.2","@types/xml2js":"^0.4.5","ava":"^3.5.0","codecov":"^3.6.5","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^14.1.1","open-cli":"^5.0.0","prettier":"^1.18.2","proxyquire":"^2.1.3","sinon":"^9.0.0","standard-version":"^6.0.1","trash-cli":"^3.0.0","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-immutable":"^6.0.1","typescript":"^3.5.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"ignoredByWatcher":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"],"reporters":["lcov","text-summary"]},"gitHead":"d832c5eac54f7874d9ab62ccd1ff7591c05c8df7","bugs":{"url":"https://github.com/kucherenko/blamer/issues"},"homepage":"https://github.com/kucherenko/blamer#readme","_id":"blamer@1.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.14.1","_npmUser":{"name":"apk","email":"kucherenko.andrey@gmail.com"},"dist":{"integrity":"sha512-o6d0m9rcEEQXF3+L/wnFPxngqwc1Oxkr/WJ3IdpTfTb0HxOpRLkhC7RAfEEkHIzU66YFjG7N5oEstvE72cnQNQ==","shasum":"0453b2e94764fb71d2a913c198fff0335fe875aa","tarball":"http://registry-npm.ywwl.com/blamer/download/blamer-1.0.1.tgz","fileCount":24,"unpackedSize":21856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZklqCRA9TVsSAnZWagAAZw4P/0IQKJxaG3uYFkNyorUP\nbYMZjK9xuZYZfhZ/qT/Lr37wFsCoDhcI3ex5Dk8lUyDLLdhnsvVLAdyxWLKs\nmRuvjlKe9YmISDWaJZDR7IZdDfiEmfetGUD0fSCz/7jIso+I7Sz7cOR442RN\nrIGkSYKq71l6EbudR2sOQ7U/5AV+3Gos5pb+OQZrbltc91DrJz+caG7m4HbM\n0ynOpj+HWilS3guxd9482Ev+IFkxYlh0D6n0gBdm3ntxqTESWsaceAinq21b\nAv+2cln6IDws0CtptfODi2d7V+VXzf0joa9aKXgN0sY4H3zSXB1r6fv9Pz/N\neTkIS1U8QLoomYGyT/j9RfwAXcLMtg2knn8+VJ7sVRcz+VRzqEGoWU6zhXQ+\ni5a/B/seujsszuRI9EV+9NRUmIl1MV6jjY6pofKrdVKMgmpxVIIOiqOcvNaA\ntLYdktBZQb1Pc2Prt+FcxN5kTys0ihjDgGdLE69IaP5Ky/peO4oNeIX8stbp\ni6keUX/3uAVNnj9wHjxMMx1e7W2km4BHTrE4ObQ334xaNv5JADo1AXq0hi0M\nZPjJw/eBuZJSRvDQmJgtoZh2UKUBkDTHMKI5ObLQEJXfmbMbvZHRATM6FlfF\nxiY6xZX6EfQr7LPTzZlKmDAZlAo+F+WS1NTIYxPvAdstzoOhkuK369dyzFu3\n/FWF\r\n=m/q8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsQxyAfzgisrD602SDTwmq/XvOjcW+I5XIpCqOCvlipQIgPW4X6i16oTBDws2v4/dXT6IRluoUS5IUR+4YNF9V+hs="}],"size":6927,"noattachment":false,"key":"/blamer/-/blamer-1.0.1.tgz"},"maintainers":[{"name":"apk","email":"kucherenko.andrey@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blamer_1.0.1_1583761769762_0.31489850605344105"},"_hasShrinkwrap":false,"readme":"Blamer\n======\n\nBlamer is a tool for get information about author of code from version control system. Supports git and subversion.\n\nStatus\n------\n[![NPM version](https://badge.fury.io/js/blamer.svg)](http://badge.fury.io/js/blamer)\n[![Build Status](https://travis-ci.org/kucherenko/blamer.svg?branch=master)](https://travis-ci.org/kucherenko/blamer)\n[![codecov](https://codecov.io/gh/kucherenko/blamer/branch/master/graph/badge.svg)](https://codecov.io/gh/kucherenko/blamer)\n[![Code Climate](https://codeclimate.com/github/kucherenko/blamer/badges/gpa.svg)](https://codeclimate.com/github/kucherenko/blamer)\n\n\n[![NPM](https://nodei.co/npm/blamer.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/blamer/)\n\nSetup\n-----\n\n    npm install blamer\n\nUsage\n-----\n\n```typescript\n\nimport Blamer from 'blamer';\n\n// first parameter in Blamer is type of VCS, can be 'svn' or 'git', 'git' used by default\nconst blamer = new Blamer('git');\n\n( async () => {\n    const result = await blamer.blameByFile('/path/to/file/in/repo');\n    console.log(\"Blame json: %j\", result);\n    //        will print\n    //        Blame json: {\"/path/to/file/in/repo\": {\n    //            \"1\": {\n    //                \"rev\": \"rev\",\n    //                \"author\": \"author\",\n    //                \"date\": \"2014-10-15T12:33:31.675393Z\",\n    //                \"line\": \"1\"\n    //             }\n    //        }\n    //   }\n})\n\n```\n\nLicense\n-------\n\n[The MIT License](https://github.com/kucherenko/blamer/blob/master/LICENSE)\n","publish_time":1583761769930,"_cnpm_publish_time":1583761769930,"dist-tags":{"latest":"1.0.7"}}