Skip to content

Commit

Permalink
Issue #000 task: Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakhan Mandloi committed Aug 30, 2019
1 parent 9e2276d commit 7605e74
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 489 deletions.
25 changes: 8 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
# SbUiComponentsApp

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.9.
## Creating Components in Sunbird UI Components NPM Library

## Development server
Run `ng generate component component-name --project sb-ui-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project sb-ui-components`.
> Note: Don't forget to add `--project sb-ui-components` or else it will be added to the default project in your `angular.json` file.
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Building Library

## Code scaffolding
Run `ng build sb-ui-components` to build the project. The build artifacts will be stored in the `dist/sb-ui-components` directory.

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Publishing NPM Package

## 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.
After building your library with `ng build sb-ui-components`, go to the dist folder `cd dist/sb-ui-components` and run `npm publish`.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
Run `ng test sb-ui-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
291 changes: 0 additions & 291 deletions dist/sb-ui-components-app/3rdpartylicenses.txt

This file was deleted.

17 changes: 0 additions & 17 deletions dist/sb-ui-components-app/assets/images/badge.svg

This file was deleted.

Binary file removed dist/sb-ui-components-app/assets/images/book.png
Binary file not shown.
42 changes: 0 additions & 42 deletions dist/sb-ui-components-app/assets/images/icons/close-button.svg

This file was deleted.

Loading

0 comments on commit 7605e74

Please sign in to comment.