README
discovery-server-sdk
A Javascript SDK for the Digital Bodleian Data/Discovery API.
How to Run the Application
Install Dependencies
npm install
Generate the Bundle File
npm run dev: This builds the bundle file once for use in development.npm run prod: This builds a minified and optimized bundle file for use in production.npm run watch: This builds the bundle file dynamically when a file changes.
Run Tests
npm run test
Generate the Documentation Files (JSDoc)
npm run docs: This generates the documentation. Note: Runningnpm run prodautomatically generates the documentation.