@harvard-lts/mirador-pdiiif-plugin
v0.1.38
Published
mirador-pdiiif-plugin React component
Keywords
Readme
mirador-pdiiif-plugin
Mirador plugin for PDIIIF. Currently intended for use with the Harvard implementation of Mirador.
Requirements
Setup
- Run
nvm useto ensure your version of matches that in the.nvmrcfile - Run
npm ito 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 |
