33 "git-stats" : " bin/git-stats"
44 },
55 "name" : " git-stats" ,
6- "version" : " 2.10.0 " ,
6+ "version" : " 2.10.1 " ,
77 "description" : " Local git statistics including GitHub-like contributions calendars." ,
88 "main" : " lib/index.js" ,
99 "scripts" : {
224224 " `git-stats --raw` outputs raw JSON format which can be consumed by other tools to generate results such as HTML files or images." ,
225225 " [`git-stats-html`](https://github.com/IonicaBizau/git-stats-html) interprets the JSON data and generates an HTML file. Example:" ,
226226 {
227- "code" : {
228- "content" : [
229- " # Install git-stats-html" ,
230- " npm install -g git-stats-html" ,
231- " " ,
232- " # Export the data from the last year (generate out.html)" ,
233- " git-stats --raw | git-stats-html -o out.html" ,
234- " " ,
235- " # Export data since 2015 (save the results in out.html)" ,
236- " git-stats --since '1 January 2015' --raw | ./bin/git-stats-html -o out.html --big"
237- ],
238- "language" : " sh"
239- }
227+ "code" : {
228+ "content" : [
229+ " # Install git-stats-html" ,
230+ " npm install -g git-stats-html" ,
231+ " " ,
232+ " # Export the data from the last year (generate out.html)" ,
233+ " git-stats --raw | git-stats-html -o out.html" ,
234+ " " ,
235+ " # Export data since 2015 (save the results in out.html)" ,
236+ " git-stats --since '1 January 2015' --raw | ./bin/git-stats-html -o out.html --big"
237+ ],
238+ "language" : " sh"
239+ }
240240 },
241241 " After we have the HTML file, we can generate an image file using [`pageres`](https://github.com/sindresorhus/pageres) by [**@sindresorhus**](https://github.com/sindresorhus/):" ,
242242 {
243- "code" : {
244- "content" : [
245- " # Install pageres" ,
246- " npm install -g pageres-cli" ,
247- " " ,
248- " # Generate the image from HTML" ,
249- " pageres out.html 775x250"
250- ],
251- "language" : " sh"
252- }
243+ "code" : {
244+ "content" : [
245+ " # Install pageres" ,
246+ " npm install -g pageres-cli" ,
247+ " " ,
248+ " # Generate the image from HTML" ,
249+ " pageres out.html 775x250"
250+ ],
251+ "language" : " sh"
252+ }
253253 }
254254 ]
255255 },
283283 " cli.js" ,
284284 " index.js"
285285 ]
286- }
286+ }
0 commit comments