0.4.5 • Published 10 months ago

@i-vresse/haddock3-analysis-components v0.4.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

React components for Haddock3 analysis

Research Software Directory Badge npmjs.com Node.js CI DOI

Components used in the report.html generated by the haddock3-analyse command.

Installation

npm install @i-vresse/haddock3-analysis-components

Usage

See example.html for a simple example which uses the latest library from npm using https://esm.sh/ for libray hosting.

See example.local.html for a simple example which uses the library from local dist/ folder. Should be hosted on a static web server like python3 -m http.server.

Build

npm run build

Generated dist/ folder.

Publish

Create GitHub release, which will trigger a GitHub action that publishes the package to npmjs.

To publish a pre-release version, update version in package.json to something like 1.0.0-next.0, create a release with a tag equal to the version in package.json and check the pre-release checkbox.

Development

npm run dev

This will render the stories (stories/*/.stories.tsx) of the components in the browser using ladle.

Code style

We are using prettier. To format the code, run:

npm run format
0.4.5

10 months ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.0-next.1

1 year ago

0.4.0-next.0

1 year ago

0.3.3-next.0

1 year ago

0.3.2

1 year ago

0.3.0

2 years ago

0.2.0

2 years ago

0.3.1

2 years ago

0.1.0

2 years ago