Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

standardnotes/component-relay

Open more actions menu

Repository files navigation

Component Relay

To get started using the Component Relay, read the Intro to Extensions guide.

Installation

yarn add @standardnotes/component-relay

or

npm install --save @standardnotes/component-relay

Manual

Import the file dist/dist.js in your HTML file. For example:

...
<script type="text/javascript" src="dist/dist.js"></script>
...

Tests

The component-relay uses Jest for tests. Tests are located in the test directory. Test files have the following name: <name>.test.js.

Run all tests

Run yarn test or npm test to run all test suites.

Coverage

Coverage can be generated by running the coverage script.

Then open the coverage/index.html file in a browser to view it.

Documentation

Documentation is generated using Typedoc. The documentation is available at https://standardnotes.github.io/component-relay/. To update the docs or to view the latest version, run:

yarn build:docs

This will generate documentation and place it in the docs/ directory. Create a localhost server using http-server and open the docs/index.html file in a browser to view the docs.

To deploy the latest version of the docs to the gh-pages branch to publish using GitHub Pages, replace 2.0.1 with the latest version and run:

yarn deploy-docs -m "build: v2.0.1"

About

A bridge that handles communication between Standard Notes and an external extension.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.