Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 2.42 KB

contributing.md

File metadata and controls

70 lines (48 loc) · 2.42 KB

Contributing

Suggestions and pull requests are highly encouraged! Have a look at the open issues.

Notions

features.add

The simplest usage of feature.add is the following. This will be run instantly on all page-loads:

import * as pageDetect from 'github-url-detection';
import features from '.';

function init() {
  console.log('✨');
}

void features.add(__filebasename, {
  include: [
    isZaps
  ],
  awaitDomReady: false,
  init
});

Requirements

Node.js version 15 or later is required.

Workflow

First clone:

git clone https://github.com/zlwaterfield/refined-zapier
cd refined-zapier
yarn install

When working on the extension or checking out branches, use this to have it constantly build your changes:

yarn watch # Listen to file changes and automatically rebuild

Then load or reload it into the browser to see the changes.

Loading into the browser

Once built, load it in the browser of your choice with web-ext:

npx web-ext run --target=chromium # Open extension in Chrome
npx web-ext run # Open extension in Firefox

Or you can load it manually in Chrome or Firefox.