Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubk/github-package-links
A userscript for GitHub that turns dependencies in package.json, composer.json, Gemfile into clickable links
https://github.com/kubk/github-package-links
browser-extension github gitlab userscript
Last synced: 6 days ago
JSON representation
A userscript for GitHub that turns dependencies in package.json, composer.json, Gemfile into clickable links
- Host: GitHub
- URL: https://github.com/kubk/github-package-links
- Owner: kubk
- License: gpl-3.0
- Created: 2018-08-10T21:00:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T02:52:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T00:41:53.580Z (about 2 months ago)
- Topics: browser-extension, github, gitlab, userscript
- Language: TypeScript
- Homepage:
- Size: 2.79 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-package-links [![Build Status](https://travis-ci.org/kubk/github-package-links.svg?branch=master)](https://travis-ci.org/kubk/github-package-links) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
A userscript that generates links for packages in dependency files like package.json, composer.json, Gemfile on GitHub. Inspired by GitLab.
### Supported files
- `package.json` / `bower.json` (JavaScript)
- `composer.json` (PHP)
- `Gemfile` / `gems.rb` (Ruby)
- `requirements.txt` (Python)
- `Gopkg.toml` (Go)### Requirements
- [Tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) for Google Chrome or [Greasemonkey](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/) for Firefox### Quick installation
- Click [here](https://github.com/kubk/github-package-links/raw/build/script.user.js) if you have Tampermonkey or Greasemonkey installed.### Manual installation
You can inspect the code and build a userscript manually from source:
1. `npm run build:prod`
2. Generate userscript: `cat userscript/userscript-header.txt dist/bundle.js > script.user.js`### Development
1. `npm run build:dev && npm run build-userscript`### Tests
Run `npm run test`