1.3.7 • Published 3 years ago

@flowscripter/js-example-host-app v1.3.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

js-example-host-app

license dependencies travis npm

Example JavaScript host application for the esm-dynamic-plugins framework.

Overview

Development

Firstly:

npm install

then:

Build: npm run build

Watch: npm run watch

Lint: npm run lint

E2E test: npm run e2e

Run with Node

Firstly run the host app and check no plugins are discovered:

npm run nodeHostApp

Then install a sample plugin providing one extension (without saving to package.json):

npm install --no-save @flowscripter/ts-example-plugin

Now when you run the host app, you should see a plugin discovered:

npm run nodeHostApp

Install another sample plugin providing two extension (without saving to package.json) and run again:

npm install --no-save @flowscripter/js-example-plugin
npm run nodeHostApp

Run with Browser

To serve locally:

npm run browserHostApp

Alternatively an online demo is available at: https://flowscripter.github.io/js-example-host-app/

In the browser developer tools, enable debug logging to the console by setting the local storage key/value:

debug = *,-NodeModulesPluginRepository

Without checking either listed plugin URL on the page and clicking on 'load', the browser console should show that no plugins are discovered.

When checking one or both plugin URLs and clicking on 'load', you should see plugins discovered.

Further Details

Further details on project configuration files and Javascript version support can be found in the template for this project.

License

MIT © Flowscripter

1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.27

4 years ago

1.2.28

4 years ago

1.2.26

4 years ago

1.2.29

4 years ago

1.2.30

4 years ago

1.2.31

4 years ago

1.2.32

4 years ago

1.2.25

4 years ago

1.2.24

4 years ago

1.2.23

4 years ago

1.2.22

4 years ago

1.2.21

4 years ago

1.2.20

4 years ago

1.2.19

4 years ago

1.2.18

5 years ago

1.2.17

5 years ago

1.2.16

5 years ago

1.2.15

5 years ago

1.2.14

5 years ago

1.2.13

5 years ago

1.2.12

5 years ago

1.2.11

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago