0.0.15 • Published 5 years ago

ui-pattern-library-app v0.0.15

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
5 years ago

UiPatternLibraryApp

This project was generated with Angular CLI version 7.0.6.

Development server

Prerequisites

Make sure you have Yarn installed globally

Development (Storybook) server

Run yarn 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 component component-name --project=ui-pattern-library to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run yarn package to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build (Angular < 6.1).

Test App

Run ng serve to to run the test application. Navigate to http://localhost:4200/. This will allow you to ensure your component is being exported properly before doing a pull request.

Publish

Run yarn publish_release to increment the version number, and deploy to npm. Note: this is only working as a test for right now as a demonstration of using Lerna for package managment.

Running unit tests

Run yarn test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

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