web: update examples data

pull/179/head
Amio 2018-10-18 10:07:59 +08:00
rodzic 05e86d24ff
commit 00686a842c
3 zmienionych plików z 184 dodań i 163 usunięć

Wyświetl plik

@ -1,212 +1,224 @@
module.exports = {
/* source control */
github: [
['latest release', 'github/release/babel/babel'],
['latest stable release', 'github/release/babel/babel/stable'],
['latest tag', 'github/tag/micromatch/micromatch'],
['watchers', 'github/watchers/micromatch/micromatch'],
['stars', 'github/stars/micromatch/micromatch'],
['forks', 'github/forks/micromatch/micromatch'],
['issues', 'github/issues/micromatch/micromatch'],
['open issues', 'github/open-issues/micromatch/micromatch'],
['closed issues', 'github/closed-issues/micromatch/micromatch'],
['issues by label', 'github/label-issues/nodejs/node/ES%20Modules'],
['open issues by label', 'github/label-issues/atom/atom/help-wanted/open'],
['closed issues by label', 'github/label-issues/rust-lang/rust/B-RFC-approved/closed'],
['PRs', 'github/prs/micromatch/micromatch'],
['open PRs', 'github/open-prs/micromatch/micromatch'],
['closed PRs', 'github/closed-prs/micromatch/micromatch'],
['merged PRs', 'github/merged-prs/micromatch/micromatch'],
['contributors', 'github/contributors/micromatch/micromatch'],
['commits', 'github/commits/micromatch/micromatch'],
['branches', 'github/branches/micromatch/micromatch'],
['releases', 'github/releases/micromatch/micromatch'],
['tags', 'github/tags/micromatch/micromatch'],
['license', 'github/license/micromatch/micromatch'],
['last commit', 'github/last-commit/micromatch/micromatch'],
['latest assets downloads', 'github/assets-dl/electron/electron'],
['repository dependents', 'github/dependents-repo/micromatch/micromatch'],
['package dependents', 'github/dependents-pkg/micromatch/micromatch']
['latest release', '/github/release/babel/babel'],
['latest stable release', '/github/release/babel/babel/stable'],
['latest tag', '/github/tag/micromatch/micromatch'],
['watchers', '/github/watchers/micromatch/micromatch'],
['status', '/github/status/micromatch/micromatch'],
['status (branch)', '/github/status/tunnckoCore/badgen-service/github-status'],
['status (branch)', '/github/status/micromatch/micromatch/gh-pages'],
['status (commit)', '/github/status/micromatch/micromatch/f4809eb6df80b'],
['stars', '/github/stars/micromatch/micromatch'],
['forks', '/github/forks/micromatch/micromatch'],
['issues', '/github/issues/micromatch/micromatch'],
['open issues', '/github/open-issues/micromatch/micromatch'],
['closed issues', '/github/closed-issues/micromatch/micromatch'],
['issues by label', '/github/label-issues/nodejs/node/ES%20Modules'],
['open issues by label', '/github/label-issues/atom/atom/help-wanted/open'],
['closed issues by label', '/github/label-issues/rust-lang/rust/B-RFC-approved/closed'],
['PRs', '/github/prs/micromatch/micromatch'],
['open PRs', '/github/open-prs/micromatch/micromatch'],
['closed PRs', '/github/closed-prs/micromatch/micromatch'],
['merged PRs', '/github/merged-prs/micromatch/micromatch'],
['contributors', '/github/contributors/micromatch/micromatch'],
['commits', '/github/commits/micromatch/micromatch'],
['branches', '/github/branches/micromatch/micromatch'],
['releases', '/github/releases/micromatch/micromatch'],
['tags', '/github/tags/micromatch/micromatch'],
['license', '/github/license/micromatch/micromatch'],
['last commit', '/github/last-commit/micromatch/micromatch'],
['latest assets downloads', '/github/assets-dl/electron/electron'],
['repository dependents', '/github/dependents-repo/micromatch/micromatch'],
['package dependents', '/github/dependents-pkg/micromatch/micromatch']
],
/* release registries */
npm: [
['version', 'npm/v/express'],
['version', 'npm/v/babel-core'],
['version', 'npm/v/ava'],
['version (tag)', 'npm/v/ava/next'],
['version (tag)', 'npm/v/next/canary'],
['version (scoped)', 'npm/v/@babel/core'],
['version (scoped & tag)', 'npm/v/@nestjs/core/beta'],
['weekly downloads', 'npm/dw/express'],
['monthly downloads', 'npm/dm/express'],
['yearly downloads', 'npm/dy/express'],
['total downloads', 'npm/dt/express'],
['license', 'npm/license/lodash'],
['engines (node)', 'npm/node/express'],
['dependents', 'npm/dependents/got']
['version', '/npm/v/express'],
['version', '/npm/v/babel-core'],
['version', '/npm/v/ava'],
['version (tag)', '/npm/v/ava/next'],
['version (tag)', '/npm/v/next/canary'],
['version (scoped)', '/npm/v/@babel/core'],
['version (scoped & tag)', '/npm/v/@nestjs/core/beta'],
['weekly downloads', '/npm/dw/express'],
['monthly downloads', '/npm/dm/express'],
['yearly downloads', '/npm/dy/express'],
['total downloads', '/npm/dt/express'],
['license', '/npm/license/lodash'],
['engines (node)', '/npm/node/express'],
['dependents', '/npm/dependents/got']
],
'david-dm': [
['dependencies', 'david/dep/zeit/pkg'],
['dev dependencies', 'david/dev/zeit/pkg'],
['peer dependencies', 'david/peer/epoberezkin/ajv-keywords'],
['optional dependencies', 'david/optional/epoberezkin/ajv-keywords'],
['dependencies (sub path)', 'david/dep/babel/babel/packages/babel-cli']
['dependencies', '/david/dep/zeit/pkg'],
['dev dependencies', '/david/dev/zeit/pkg'],
['peer dependencies', '/david/peer/epoberezkin/ajv-keywords'],
['optional dependencies', '/david/optional/epoberezkin/ajv-keywords'],
['dependencies (sub path)', '/david/dep/babel/babel/packages/babel-cli']
],
packagephobia: [
['install size', 'packagephobia/install/webpack'],
['publish size', 'packagephobia/publish/webpack'],
['publish size (scoped)', 'packagephobia/publish/@tusbar/cache-control']
['install size', '/packagephobia/install/webpack'],
['publish size', '/packagephobia/publish/webpack'],
['publish size (scoped)', '/packagephobia/publish/@tusbar/cache-control']
],
bundlephobia: [
['minified', 'bundlephobia/min/react'],
['minified + gzip', 'bundlephobia/minzip/react'],
['(scoped) minified + gzip', 'bundlephobia/minzip/@nuxtjs/axios']
['minified', '/bundlephobia/min/react'],
['minified + gzip', '/bundlephobia/minzip/react'],
['(scoped) minified + gzip', '/bundlephobia/minzip/@nuxtjs/axios']
],
crates: [
['version', 'crates/v/regex'],
['downloads', 'crates/d/regex'],
['downloads (latest)', 'crates/dl/regex']
['version', '/crates/v/regex'],
['downloads', '/crates/d/regex'],
['downloads (latest)', '/crates/dl/regex']
],
docker: [
['pulls (library)', 'docker/pulls/library/ubuntu'],
['stars (library)', 'docker/stars/library/ubuntu'],
['pulls (scoped)', 'docker/pulls/amio/node-chrome'],
['stars (icon & label)', 'docker/stars/library/mongo?icon=docker&label=stars']
['pulls (library)', '/docker/pulls/library/ubuntu'],
['stars (library)', '/docker/stars/library/ubuntu'],
['pulls (scoped)', '/docker/pulls/amio/node-chrome'],
['stars (icon & label)', '/docker/stars/library/mongo?icon=docker&label=stars']
],
homebrew: [
['version', '/homebrew/v/fish'],
['version', '/homebrew/v/cake']
],
homebrew: [['version', 'homebrew/v/fish'], ['version', 'homebrew/v/cake']],
'chrome extension': [
['version', 'chrome-web-store/v/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['users', 'chrome-web-store/users/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['price', 'chrome-web-store/price/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['rating', 'chrome-web-store/rating/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['stars', 'chrome-web-store/stars/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['rating count', 'chrome-web-store/rating-count/ckkdlimhmcjmikdlpkmbgfkaikojcbjk']
['version', '/chrome-web-store/v/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['users', '/chrome-web-store/users/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['price', '/chrome-web-store/price/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['rating', '/chrome-web-store/rating/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['stars', '/chrome-web-store/stars/ckkdlimhmcjmikdlpkmbgfkaikojcbjk'],
['rating count', '/chrome-web-store/rating-count/ckkdlimhmcjmikdlpkmbgfkaikojcbjk']
],
'mozilla add-on': [
['version', 'amo/v/markdown-viewer-chrome'],
['users', 'amo/users/markdown-viewer-chrome'],
['rating', 'amo/rating/markdown-viewer-chrome'],
['stars', 'amo/stars/markdown-viewer-chrome'],
['reviews', 'amo/reviews/markdown-viewer-chrome']
['version', '/amo/v/markdown-viewer-chrome'],
['users', '/amo/users/markdown-viewer-chrome'],
['rating', '/amo/rating/markdown-viewer-chrome'],
['stars', '/amo/stars/markdown-viewer-chrome'],
['reviews', '/amo/reviews/markdown-viewer-chrome']
],
pypi: [
['version', 'pypi/v/pip'],
['version', 'pypi/v/docutils'],
['license', 'pypi/license/pip']
['version', '/pypi/v/pip'],
['version', '/pypi/v/docutils'],
['license', '/pypi/license/pip']
],
nuget: [
['version (stable)', 'nuget/v/newtonsoft.json'],
['version (pre)', 'nuget/v/newtonsoft.json/pre'],
['version (latest)', 'nuget/v/newtonsoft.json/latest']
['version (stable)', '/nuget/v/newtonsoft.json'],
['version (pre)', '/nuget/v/newtonsoft.json/pre'],
['version (latest)', '/nuget/v/newtonsoft.json/latest']
],
packagist: [
['version (stable)', 'packagist/v/monolog/monolog'],
['version (pre)', 'packagist/v/monolog/monolog/pre'],
['version (latest)', 'packagist/v/monolog/monolog/latest'],
['total downloads', 'packagist/dt/monolog/monolog'],
['daily downloads', 'packagist/dd/monolog/monolog'],
['monthly downloads', 'packagist/dm/monolog/monolog'],
['favers', 'packagist/favers/monolog/monolog'],
['dependents', 'packagist/dependents/monolog/monolog'],
['suggesters', 'packagist/suggesters/monolog/monolog'],
['name', 'packagist/n/monolog/monolog'],
['github stars', 'packagist/ghs/monolog/monolog'],
['github watchers', 'packagist/ghw/monolog/monolog'],
['github forks', 'packagist/ghf/monolog/monolog'],
['github issues', 'packagist/ghi/monolog/monolog'],
['language', 'packagist/lang/monolog/monolog'],
['license', 'packagist/license/monolog/monolog']
['version (stable)', '/packagist/v/monolog/monolog'],
['version (pre)', '/packagist/v/monolog/monolog/pre'],
['version (latest)', '/packagist/v/monolog/monolog/latest'],
['total downloads', '/packagist/dt/monolog/monolog'],
['daily downloads', '/packagist/dd/monolog/monolog'],
['monthly downloads', '/packagist/dm/monolog/monolog'],
['favers', '/packagist/favers/monolog/monolog'],
['dependents', '/packagist/dependents/monolog/monolog'],
['suggesters', '/packagist/suggesters/monolog/monolog'],
['name', '/packagist/n/monolog/monolog'],
['github stars', '/packagist/ghs/monolog/monolog'],
['github watchers', '/packagist/ghw/monolog/monolog'],
['github forks', '/packagist/ghf/monolog/monolog'],
['github issues', '/packagist/ghi/monolog/monolog'],
['language', '/packagist/lang/monolog/monolog'],
['license', '/packagist/license/monolog/monolog']
],
rubygems: [
['version (stable)', 'rubygems/v/rails'],
['version (pre)', 'rubygems/v/rails/pre'],
['version (latest)', 'rubygems/v/rails/latest'],
['total downloads', 'rubygems/dt/rails'],
['version downloads', 'rubygems/dv/rails'],
['name', 'rubygems/n/rails'],
['platform', 'rubygems/p/rails']
['version (stable)', '/rubygems/v/rails'],
['version (pre)', '/rubygems/v/rails/pre'],
['version (latest)', '/rubygems/v/rails/latest'],
['total downloads', '/rubygems/dt/rails'],
['version downloads', '/rubygems/dv/rails'],
['name', '/rubygems/n/rails'],
['platform', '/rubygems/p/rails']
],
apm: [
['version', 'apm/v/linter'],
['license', 'apm/license/linter'],
['downloads', 'apm/dl/linter'],
['stars', 'apm/stars/linter']
['version', '/apm/v/linter'],
['license', '/apm/license/linter'],
['downloads', '/apm/dl/linter'],
['stars', '/apm/stars/linter']
],
hackage: [
['version', 'hackage/v/abt'],
['version', 'hackage/v/Cabal'],
['license', 'hackage/license/Cabal']
['version', '/hackage/v/abt'],
['version', '/hackage/v/Cabal'],
['license', '/hackage/license/Cabal']
],
'visual studio marketplace': [
['version', 'vs-marketplace/v/vscodevim.vim'],
['installs', 'vs-marketplace/i/vscodevim.vim'],
['downloads', 'vs-marketplace/d/vscodevim.vim'],
['rating', 'vs-marketplace/rating/vscodevim.vim']
['version', '/vs-marketplace/v/vscodevim.vim'],
['installs', '/vs-marketplace/i/vscodevim.vim'],
['downloads', '/vs-marketplace/d/vscodevim.vim'],
['rating', '/vs-marketplace/rating/vscodevim.vim']
],
/* CIs */
travis: [
['build', 'travis/babel/babel'],
['build (branch)', 'travis/babel/babel/6.x']
['build', '/travis/babel/babel'],
['build (branch)', '/travis/babel/babel/6.x']
],
circleci: [
['build', 'circleci/github/nuxt/nuxt.js'],
['build (branch)', 'circleci/github/nuxt/nuxt.js/master']
['build', '/circleci/github/nuxt/nuxt.js'],
['build (branch)', '/circleci/github/nuxt/nuxt.js/master']
],
appveyor: [
['build', 'appveyor/ci/gruntjs/grunt'],
['build (branch)', 'appveyor/ci/gruntjs/grunt/deprecate']
['build', '/appveyor/ci/gruntjs/grunt'],
['build (branch)', '/appveyor/ci/gruntjs/grunt/deprecate']
],
codecov: [
['coverage (github)', 'codecov/c/github/tunnckoCore/gitcommit'],
['coverage (github, branch)', 'codecov/c/github/babel/babel/6.x'],
['coverage (bitbucket)', 'codecov/c/bitbucket/ignitionrobotics/ign-math'],
[
'coverage (bitbucket, branch)',
'/codecov/c/bitbucket/ignitionrobotics/ign-math/master'
],
['coverage (gitlab)', 'codecov/c/gitlab/gitlab-org/gitaly'],
['coverage (gitlab, branch)', 'codecov/c/gitlab/gitlab-org/gitaly/master']
['coverage (github)', '/codecov/c/github/tunnckoCoreLabs/gitcommit'],
['coverage (github, branch)', '/codecov/c/github/babel/babel/6.x'],
['coverage (bitbucket)', '/codecov/c/bitbucket/ignitionrobotics/ign-math'],
['coverage (bitbucket, branch)', '/codecov/c/bitbucket/ignitionrobotics/ign-math/master'],
['coverage (gitlab)', '/codecov/c/gitlab/gitlab-org/gitaly'],
['coverage (gitlab, branch)', '/codecov/c/gitlab/gitlab-org/gitaly/master']
],
coveralls: [
['coverage (github)', 'coveralls/c/github/jekyll/jekyll'],
['coverage (github, branch)', 'coveralls/c/github/jekyll/jekyll/master'],
['coverage (bitbucket)', 'coveralls/c/bitbucket/pyKLIP/pyklip'],
['coverage (bitbucket, branch)', 'coveralls/c/bitbucket/pyKLIP/pyklip/master']
['coverage (github)', '/coveralls/c/github/jekyll/jekyll'],
['coverage (github, branch)', '/coveralls/c/github/jekyll/jekyll/master'],
['coverage (bitbucket)', '/coveralls/c/bitbucket/pyKLIP/pyklip'],
['coverage (bitbucket, branch)', '/coveralls/c/bitbucket/pyKLIP/pyklip/master']
],
/* quality & metrics */
'code climate': [
['lines of code', 'codeclimate/loc/jekyll/jekyll'],
['issues', 'codeclimate/issues/jekyll/jekyll'],
['technical debt', 'codeclimate/tech-debt/jekyll/jekyll'],
['maintainability', 'codeclimate/maintainability/jekyll/jekyll'],
['maintainability (percentage)', 'codeclimate/maintainability-percentage/jekyll/jekyll'],
['coverage', 'codeclimate/coverage/jekyll/jekyll'],
['coverage (letter)', 'codeclimate/coverage-letter/jekyll/jekyll']
['lines of code', '/codeclimate/loc/jekyll/jekyll'],
['issues', '/codeclimate/issues/jekyll/jekyll'],
['technical debt', '/codeclimate/tech-debt/jekyll/jekyll'],
['maintainability', '/codeclimate/maintainability/jekyll/jekyll'],
['maintainability (percentage)', '/codeclimate/maintainability-percentage/jekyll/jekyll'],
['coverage', '/codeclimate/coverage/jekyll/jekyll'],
['coverage (letter)', '/codeclimate/coverage-letter/jekyll/jekyll']
],
lgtm: [
['number of alerts', 'lgtm/alerts/g/apache/cloudstack'],
['java code quality', 'lgtm/grade/java/g/apache/cloudstack'],
['C/C++ code quality', 'lgtm/grade/cpp/g/systemd/systemd']
'lgtm': [
['number of alerts', '/lgtm/alerts/g/apache/cloudstack'],
['java code quality', '/lgtm/grade/java/g/apache/cloudstack'],
['C/C++ code quality', '/lgtm/grade/cpp/g/systemd/systemd']
],
'uptime robot': [
['status', 'uptime-robot/status/m780862024-50db2c44c703e5c68d6b1ebb'],
['(24 hours) uptime', 'uptime-robot/day/m780862024-50db2c44c703e5c68d6b1ebb'],
['(past week) uptime', 'uptime-robot/week/m780862024-50db2c44c703e5c68d6b1ebb'],
['(past month) uptime', 'uptime-robot/month/m780862024-50db2c44c703e5c68d6b1ebb'],
['(last hours) response', 'uptime-robot/response/m780862024-50db2c44c703e5c68d6b1ebb']
['status', '/uptime-robot/status/m780862024-50db2c44c703e5c68d6b1ebb'],
['(24 hours) uptime', '/uptime-robot/day/m780862024-50db2c44c703e5c68d6b1ebb'],
['(past week) uptime', '/uptime-robot/week/m780862024-50db2c44c703e5c68d6b1ebb'],
['(past month) uptime', '/uptime-robot/month/m780862024-50db2c44c703e5c68d6b1ebb'],
['(last hours) response', '/uptime-robot/response/m780862024-50db2c44c703e5c68d6b1ebb']
],
xo: [
['status', '/xo/status/badgen'],
['status', '/xo/status/chalk'],
['indent', '/xo/indent/@tusbar/cache-control'],
['semicolons', '/xo/semi/got']
],
badgesize: [
['normal size', 'badgesize/normal/amio/emoji.json/master/emoji-compact.json'],
['brotli size', 'badgesize/brotli/amio/emoji.json/master/emoji-compact.json'],
['gzip size', 'badgesize/gzip/amio/emoji.json/master/emoji-compact.json'],
['arbitrary url', 'badgesize/normal/https://unpkg.com/snarkdown/dist/snarkdown.js']
['normal size', '/badgesize/normal/amio/emoji.json/master/emoji-compact.json'],
['brotli size', '/badgesize/brotli/amio/emoji.json/master/emoji-compact.json'],
['gzip size', '/badgesize/gzip/amio/emoji.json/master/emoji-compact.json'],
['arbitrary url', '/badgesize/normal/https://unpkg.com/snarkdown/dist/snarkdown.js']
],
/* utilities */
opencollective: [
['backers', 'opencollective/backers/webpack'],
['contributors', 'opencollective/contributors/webpack'],
['balance', 'opencollective/balance/webpack'],
['yearly income', 'opencollective/yearly/webpack']
'opencollective': [
['backers', '/opencollective/backers/webpack'],
['contributors', '/opencollective/contributors/webpack'],
['balance', '/opencollective/balance/webpack'],
['yearly income', '/opencollective/yearly/webpack']
],
keybase: [['pgp', 'keybase/pgp/lukechilds']]
keybase: [
['pgp', '/keybase/pgp/lukechilds']
]
}

Wyświetl plik

@ -1,11 +1,19 @@
module.exports = {
'static': [
['swift version', 'badge/Swift/4.2/orange'],
['license mit', 'badge/license/MIT/blue'],
['gitter', 'badge/chat/on%20gitter/cyan'],
['star rating', 'badge/stars/★★★★☆'],
['patreon', 'badge/become/a%20patron/F96854'],
['code style: standard', 'badge/code%20style/standard/f2a'],
['platform', 'badge/platform/ios,macos,tvos?list=1']
'license': [
['license mit', '/badge/license/MIT/blue']
],
'code style': [
['standard', '/badge/code%20style/standard/f2a'],
['airbnb', '/badge/code%20style/airbnb/FF5A60'],
['xo', '/badge/code%20style/xo/5ED9C7']
],
'chat': [
['gitter', '/badge/chat/on%20gitter/cyan']
],
'else': [
['swift version', '/badge/Swift/4.2/orange'],
['star rating', '/badge/stars/★★★★☆'],
['patreon', '/badge/become/a%20patron/F96854'],
['platform', '/badge/platform/ios,macos,tvos?list=1']
]
}

Wyświetl plik

@ -17,5 +17,6 @@ module.exports = [
get('/static/*', servePublicPages),
get('/builder', servePublicPages),
get('/gallery', redirectTo('/gallery/live')),
get('/gallery/', redirectTo('/gallery/live')),
get('/gallery/*', servePublicPages)
]