forked from Sunbird-Ed/sunbird-ui-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lakhan Mandloi
committed
Aug 30, 2019
1 parent
9e2276d
commit 7605e74
Showing
16 changed files
with
52 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
42 changes: 0 additions & 42 deletions
42
dist/sb-ui-components-app/assets/images/icons/close-button.svg
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.