@navinc/reports
TypeScript icon, indicating that this package has built-in type declarations

3.1.151 • Public • Published

@navinc/reports

A set of report based components. Written in Typescript.

You can view the current build of Storybook here.

Quick start

Please run all of the following commands from the monorepo root:

  1. npx lerna run start --stream --scope=@navinc/reports - Make changes and watch them at http://localhost:9009/
  2. Watch and run your tests with npx lerna run test:watch --stream --scope=@navinc/reports
  3. Test in pipsqueak with ./bin/copy-package reports pip.
  4. When it works as you need it to, build it: npx lerna run build --stream --scope=@navinc/reports
  5. Run the tests post build: npx lerna run test --stream --scope=@navinc/reports

Getting Started with Storybook

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/

Building

Base Components

npx lerna run build --stream --scope=@navinc/reports

Storybooks

npx lerna run build:storybook --stream --scope=@navinc/reports

And open /public/reports/index.html to test storybook.

Testing

  1. npx lerna run test --stream --scope=@navinc/reports This will run Jest and our linter.

Using reports in your own projects

  1. Install it in your project npm i @navinc/reports
  2. Use it! Ex: import { Copy } from '@navinc/reports'
  3. Refer to Storybook for implementation details for each component.

Readme

Keywords

none

Package Sidebar

Install

npm i @navinc/reports

Weekly Downloads

867

Version

3.1.151

License

UNLICENSED

Unpacked Size

465 kB

Total Files

228

Last publish

Collaborators

  • uniqname
  • cshellnav
  • lbachman
  • mpoulson
  • karenposada
  • castengo
  • ammonlockwood
  • chawboo
  • dangerbarber
  • dlewallen
  • smeffordnav
  • serenanav
  • tnegro
  • frontend-nav