@wcj/github-rank
Advanced tools
Comparing version 19.4.20-1 to 19.4.21
{ | ||
"name": "@wcj/github-rank", | ||
"version": "19.4.20-1", | ||
"version": "19.4.21", | ||
"description": "Github Users Ranking for China.", | ||
@@ -12,3 +12,3 @@ "scripts": { | ||
"prepare": "npm run build:cjs", | ||
"deploy": "gh-pages -d web -m '2019-04-20'", | ||
"deploy": "gh-pages -d web -m '2019-04-21'", | ||
"build:cjs": "BABEL_ENV=cjs babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline --copy-files --delete-dir-on-start --verbose" | ||
@@ -43,2 +43,3 @@ }, | ||
"@babel/preset-typescript": "^7.3.3", | ||
"@babel/runtime": "^7.4.3", | ||
"@types/dotenv": "^6.1.1", | ||
@@ -49,12 +50,11 @@ "@types/ejs": "^2.6.3", | ||
"@types/node-fetch": "^2.3.2", | ||
"gh-pages": "^2.0.1", | ||
"jest": "^24.7.1", | ||
"typescript": "^3.4.3", | ||
"@babel/runtime": "^7.4.3", | ||
"dotenv": "^7.0.0", | ||
"ejs": "^2.6.1", | ||
"fs-extra": "^7.0.1", | ||
"node-fetch": "^2.3.0" | ||
"gh-pages": "^2.0.1", | ||
"jest": "^24.7.1", | ||
"node-fetch": "^2.3.0", | ||
"typescript": "^3.4.3" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -0,1 +1,3 @@ | ||
排行榜预览:[Github 预览](http://jaywcjlove.github.io/github-rank/) | [UNPKG预览](https://unpkg.com/@wcj/github-rank/web/index.html) | [Gitee预览](http://jaywcjlove.gitee.io/github-rank) | ||
Github Ranking | ||
@@ -8,7 +10,5 @@ --- | ||
也可通过 [UNPKG](https://unpkg.com/@wcj/github-rank/web/index.html) 访问:[https://unpkg.com/@wcj/github-rank/web/index.html](https://unpkg.com/@wcj/github-rank/web/index.html) | ||
[![](GithubRanking.png)](http://jaywcjlove.github.io/github-rank/) | ||
### 使用 | ||
## 使用 | ||
@@ -21,6 +21,49 @@ 希望能从 `19年04月20日` 开始每天发版,版本号以 `年`、`月`、`日` 来定义,如: `v19.4.20`。 | ||
使用可以通过引入数据,来获取排名数据,也可以通过 [UNPKG](https://unpkg.com/@wcj/github-rank/dist/users.json) 直接访问用户数据, | ||
也可通过 [UNPKG](https://unpkg.com/@wcj/github-rank/web/index.html) 访问:[https://unpkg.com/@wcj/github-rank/web/index.html](https://unpkg.com/@wcj/github-rank/web/index.html) 直接访问用户排行榜。 | ||
```js | ||
import usersDatas from '@wcj/github-rank'; | ||
import users from '@wcj/github-rank'; | ||
``` | ||
输出下面内容: | ||
```json | ||
[ | ||
{ | ||
"login": "jaywcjlove", | ||
"id": 1680273, | ||
"node_id": "MDQ6VXNlcjE2ODAyNzM=", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/1680273?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/jaywcjlove", | ||
"html_url": "https://github.com/jaywcjlove", | ||
"followers_url": "https://api.github.com/users/jaywcjlove/followers", | ||
"following_url": "https://api.github.com/users/jaywcjlove/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/jaywcjlove/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/jaywcjlove/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/jaywcjlove/subscriptions", | ||
"organizations_url": "https://api.github.com/users/jaywcjlove/orgs", | ||
"repos_url": "https://api.github.com/users/jaywcjlove/repos", | ||
"events_url": "https://api.github.com/users/jaywcjlove/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/jaywcjlove/received_events", | ||
"type": "User", | ||
"site_admin": false, | ||
"score": 1, | ||
"rank": 117, | ||
"name": "小弟调调™", | ||
"company": "ʕ•̫͡•ʔ-̫͡-ʕ•͓͡•ʔ-̫͡-ʔ", | ||
"blog": "http://wangchujiang.com", | ||
"location": "Shanghai, China", | ||
"email": "wowohoo@qq.com", | ||
"hireable": true, | ||
"bio": "(͡·̮̃·̃) 撸码的乐趣 💯 ,“人没了,™代码还在”", | ||
"public_repos": 78, | ||
"public_gists": 1, | ||
"followers": 2519, | ||
"following": 91, | ||
"created_at": "2012-04-26T00:30:25Z", | ||
"updated_at": "2019-04-12T14:27:54Z" | ||
} | ||
] | ||
``` |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1102964
10539
0
67