Skip to content

siga-fab/cca-fab-components

Repository files navigation

CCA FAB components

build status GitHub release (latest by date) License: MIT

This libs's monorepo was generated with Angular CLI version 9.1.12. This project make use of storybook for development and jest for tests.

Development server

Run npm start or npm run storybook for a dev server. Navigate to http://localhost:6006/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate module module-name --project=project to generate a new module. Run ng generate component component-name --project=project-name --module=module-name --style=scss --project=project to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Dont't forget to export your module/components on public-api.ts.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Jest. Run ng test:cov to execute the unit tests with coverage report.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.