Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 1.72 KB

README.md

File metadata and controls

75 lines (59 loc) · 1.72 KB

Emojit Browser Extension

Emojit allows you to rate any web page 🤯

Downloads

You can download the extension for various browsers:

Want the bleeding edge latest build? You can install an artifact from a build here. The build reports checksums in the "Extension: Build" step.

Dev

You will need install and build the dependencies in this repo first:

# Go to the repo root:
pushd ..
yarn install
cd core
yarn install && yarn build
cd react-core
yarn install && yarn build
popd

Otherwise, if you just try to build from this folder, then you might need EMOGIT_NPM_AUTH_TOKEN to be a GitHub PAT. You can generate one at https://github.com/settings/tokens. Give it the write:packages and possibly the repo scopes.

EMOGIT_NPM_AUTH_TOKEN=<GitHub PAT token> yarn install

Install

In this folder, run yarn install.

Development

Run one of:

yarn dev chrome
yarn dev firefox
yarn dev opera
yarn dev edge

An extension that is ready to be loaded as an unpacked extension/add-on can be found in dist/<platform>/.

Build

Run one of:

yarn build chrome
yarn build firefox
yarn build opera
yarn build edge

A package will get placed in the packages folder.

Lint

yarn lint

Correct:

yarn lint-fix

Test

yarn test

Environment

The build tool also defines a variable named process.env.NODE_ENV in your scripts.

Docs