Skip to content

Commit 30461ab

Browse files
committed
Fix package.json
1 parent 5b04058 commit 30461ab

4 files changed

Lines changed: 19 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
3. Add the following secrets using the **New secret** button:
2323

2424
- **GH_TOKEN:** The GitHub token generated above.
25-
- **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/yg/`**`387aeb084c3433e24a11b36660ba9937`**.
25+
- **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/bokub/`**`387aeb084c3433e24a11b36660ba9937`**.
2626
- **ALL_COMMITS:** Boolean value, If `true` it will count all commits instead of last year commits
2727

2828
4. Go to the **Actions** tab of your fork

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env node
2+
'use strict';
3+
14
require('dotenv').config();
25
const { GistBox } = require('gist-box');
36
const { userInfoFetcher, totalCommitsFetcher } = require('./fetch');

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
{
22
"name": "github-stats-box",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Update a gist to contain your GitHub stats",
55
"author": "bokub",
66
"license": "MIT",
7+
"repository": "bokub/github-stats-box",
8+
"main": "index.js",
79
"scripts": {
810
"prettier": "prettier --write **/*.{js,md,json,yml}"
911
},
12+
"bin": {
13+
"github-stats-box": "index.js"
14+
},
15+
"keywords": [
16+
"gist",
17+
"pinned",
18+
"action",
19+
"github",
20+
"stats",
21+
"box"
22+
],
1023
"dependencies": {
1124
"axios": "^0.19.2",
1225
"dotenv": "8.2.0",

0 commit comments

Comments
 (0)