A set of report based components. Written in Typescript.
You can view the current build of Storybook here.
Please run all of the following commands from the monorepo root:
-
npx lerna run start --stream --scope=@navinc/reports
- Make changes and watch them at http://localhost:9009/ - Watch and run your tests with
npx lerna run test:watch --stream --scope=@navinc/reports
- Test in pipsqueak with
./bin/copy-package reports pip
. - When it works as you need it to, build it:
npx lerna run build --stream --scope=@navinc/reports
- Run the tests post build:
npx lerna run test --stream --scope=@navinc/reports
To start Storybook, go to the monorepo root and run the following:
npx lerna run start --stream --scope=@navinc/reports
And go to http://localhost:9009/
npx lerna run build --stream --scope=@navinc/reports
npx lerna run build:storybook --stream --scope=@navinc/reports
And open /public/reports/index.html
to test storybook.
-
npx lerna run test --stream --scope=@navinc/reports
This will run Jest and our linter.
- Install it in your project
npm i @navinc/reports
- Use it! Ex:
import { Copy } from '@navinc/reports'
- Refer to Storybook for implementation details for each component.