{"name":"blamer","version":"1.0.4","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","test":"run-s build test:*","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 90 --functions 100 --branches 80","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","prepare-release":"run-s reset test cov:check version"},"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","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"},"devDependencies":{"@bitjson/npm-scripts-info":"^1.0.0","@istanbuljs/nyc-config-typescript":"^0.1.3","@types/node":"^20.6.2","@types/sinon":"^7.5.2","@types/which":"^1.3.2","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":"^8.0.1","trash-cli":"^3.0.0","typescript":"^5.0.4"},"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":"2ca7c28bdd8d31bb7d8bd33e8a637c456476a853","bugs":{"url":"https://github.com/kucherenko/blamer/issues"},"homepage":"https://github.com/kucherenko/blamer#readme","_id":"blamer@1.0.4","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-wKUEcMmhVUVjrpXKMROJY/O7EUNzQVAcE4jrVwLw/EcMVRS+xzgRpLOEQ/LRXBp1WGtl7uDMHcNzSeJWCRg0Tg==","shasum":"b2890983a8e2fae3caf7fc9d3f0393725845220d","tarball":"http://registry-npm.ywwl.com/blamer/download/blamer-1.0.4.tgz","fileCount":20,"unpackedSize":17277,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaHXyB3waOHpmsaJVccu2yyOjax8qPxdBfK5C0VSK7ewIhAIQ9Tl0xwTff3FjWNM2UgKBVB/LJglvdR4PV6tiz6qfF"}],"size":6028,"noattachment":false,"key":"/blamer/-/blamer-1.0.4.tgz"},"_npmUser":{"name":"apk","email":"kucherenko.andrey@gmail.com"},"directories":{},"maintainers":[{"name":"apk","email":"kucherenko.andrey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blamer_1.0.4_1694978739265_0.7343786509977475"},"_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":1694978739486,"_cnpm_publish_time":1694978739486,"dist-tags":{"latest":"1.0.7"}}