Giter VIP home page Giter VIP logo

yarn-ball's Introduction

Yarn Ball

Mozilla Add-on Chrome Web Store

Build Status Coverage Status Greenkeeper badge

Yarn Ball is a browser extension that replaces npm commands on webpages with their yarn equivalents. It supports Chrome, Firefox, and Safari.

Installation

Yarn Ball is available via the Chrome Web Store and AMO. In the future it may be submitted to the Safari Extensions Gallery.

Development

To run a one-off build run npm run build. Alternatively to rebuild when changes are detected run npm run build:watch.

This utilises webpack to compile the TypeScript, generate the approriate manifest.json and Info.plist files, and copy across static assets.

Firefox

web-ext is recommended when developing on Firefox. This tool will load Yarn Ball in to Firefox and reload it when changes are detected. This can be achieved by running web-ext run inside the build/WebExtension directory.

Alternatively follow Mozilla's guide to installing add-ons.

Chrome

Follow the instructions in Google's getting started tutorial and when prompted for the directory choose the build/WebExtension directory.

Safari

To load in Safari navigate to "Developer" => "Show Extension Builder", click the "+" in the bottom-left, choose "Add Extension..." and select the build/Yarn Ball.safariextension directory.

Feature Roadmap

Down the line I would like to add a configuration page that would provide the following options:

  • Enable/disable on specific URLs (currently it is only ignored on yarnpkg.com)
  • Click on a replaced command to copy to the clipboard
  • Show original command on hover
  • Ignore npm install commands that don't include the save parameter

Special Thanks

Special thanks to Joshua Robins for creating the logo for Yarn Ball.

Licence

Yarn Ball is released under the MIT licence. See the LICENCE file for the full licence text.

yarn-ball's People

Contributors

greenkeeper[bot] avatar jackymancs4 avatar josephduffy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

yarn-ball's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.