@harvard-lts/mirador-pdiiif-plugin
v0.1.29
Published
mirador-pdiiif-plugin React component
Downloads
31
Keywords
Readme
mirador-pdiiif-plugin
Mirador plugin for PDIIIF. Currently intended for use with the Harvard implementation of Mirador.
Requirements
Setup
- Run
nvm use
to ensure your version of matches that in the.nvmrc
file - Run
npm i
to install dependencies - Use one of the NPM scripts to perform the actions described below.
NPM scripts
The following are some useful scripts can be ran using npm run <script>
. A full list can be seen in package.json
| Script | Description |
| ------- | -------------------------------------------------------------------------------------------------------------------------- |
| clean
| Removes the dist
directories |
| build
| Builds the source files into the ./dist
directory |
| serve
| Runs a local web server where the plugin can be viewed in a vanilla Mirador instance (helpful for testing and development) |
| test
| Runs the automated test suites |