0.1.10 • Published 8 years ago
shared-form-app v0.1.10
Shared-form-app
This repository holds the shared front-end components for the insurance checker and triage tool.
Instructions
Commands to run
Initial:
npm install #install dependenciesTo test:
npm testTo run local (port 3000):
npm startTo build:
npm run buildTo build (& view your prod artefacts on port 8000):
npm run build
python3 -m http.serverUpdating shared-form-app npm package
This repository is to be used as a npm package in other projects. There are two entry points to the app - index.tsx which is used by npm start in order to serve up the UI locally, and main.ts which is used as an entry point for the npm package exports
When you make changes to this library, in order to update the npm version so these changes can be used elsewhere, please follow these steps:
- Login as the
cjc-access-to-justiceuser to npm by usingnpm login. You can get the correct login credentials by contacting one of the developers on the project. - Bump up the
versioninpackage.json - Run
npm publish
To receive the changes elsewhere, now you can just update the shared-form-app npm package.
Tech
- React
- Typescript
- Jest-Enzyme