Skip to content

katiejng/braid-lookup-extension

Repository files navigation

Braid Lookup

This repo builds and deploys a simple chrome and firefox extension for searching braid components.

screenshot of chrome extension

This project is powered by sku, braid and built with React.

Links

Chrome Web Store

Firefox Addon

Getting Started

First of all, make sure you've installed Yarn.

Then, install dependencies:

$ yarn

Workflow

Start a local development server:

$ yarn start

Run unit tests:

$ yarn test

Lint and format code:

$ yarn lint
$ yarn format

Build assets for production:

$ yarn build

Zip folders to be uploaded to chrome and firefox:

$ yarn build-zip

Releasing updates

Instructions for Chrome

yarn
yarn build
yarn set-version <version-number>
yarn zip:chrome

INSTRUCTIONS FOR FIREFOX

To create signed xpi file.

  1. Requires Mozilla API key and secret.
  2. Requires node and yarn and nvm
  3. Run
nvm use
yarn
yarn build
yarn web-ext sign --api-key $MOZILLA_SECRET_KEY --api-secret $MOZILLA_SECRET_VALUE --channel unlisted -s dist

xpi file should be in web-ext-artifacts/braid_lookup_extension-....xpi

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •