4.2.0 • Published 4 years ago
@infect/frontend v4.2.0
INFECT Frontend
Frontent for the INFECT application
Testing
To run the tests provided, call
npm testServe
To run the dev server, call
npm startParameters:
- Pass
hostof a valid API to the URL when testing, e.g. http://localhost:3000/?host=beta.infect.info - Pass
previewGuidelinesto preview unpublished guidelines: http://localhost:3000/?previewGuidelines - Pass
dataVersionStatusIdentifiersto preview a certain version of RDA data; valid values areactiveandpreview, multiple entries must be comma separated, e.g. http://localhost:3000/?dataVersionStatusIdentifiers=active,preview
Build
To build the CSS and JS files needed for the production system, call
npm run build