https://github.com/reclamador/ngx-components
Angular components library made with ❤ by reclamador.es
https://github.com/reclamador/ngx-components
angular components ng-packagr nrwl typescript
Last synced: 5 months ago
JSON representation
Angular components library made with ❤ by reclamador.es
- Host: GitHub
- URL: https://github.com/reclamador/ngx-components
- Owner: reclamador
- Created: 2019-02-25T15:12:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-02T21:30:02.000Z (about 3 years ago)
- Last Synced: 2024-12-11T15:53:07.570Z (6 months ago)
- Topics: angular, components, ng-packagr, nrwl, typescript
- Language: TypeScript
- Homepage: https://reclamador.github.io/ngx-components/dist/apps/demo-page/
- Size: 6.13 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NgxComponents
Reclamador angular component library
###### Project generated with [Angular CLI](https://github.com/angular/angular-cli) using [Nrwl Nx](https://nrwl.io/nx).The repository contains the libray (reclamitux) a test page app (demo-page) and a build enviroment for github pages.
## Demo
Visit our [demo page](https://reclamador.github.io/ngx-components/dist/apps/demo-page/).## Development server
Run `ng serve --project=demo-page` to launch the demo-page server and navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.## Create new blocks
You can create add new components to the library with `ng g component COMPONENT-NAME --project=reclamitux` or some other block with `ng generate directive|pipe|service|class|guard|interface|enum|module --project=reclamitux`.## Build
Run `ng build --project=myapp` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Documentation
The project demo page is served with github pages. The code is in the branch **gh-pages** and it's only suppose to keep the dist changes. The process to update the documentation should be like this:
* Deploy the changes to **master**
* Merge the **master** branch into **gh-pages**
* Build the new version of the page with the command `npm build-docs`
* Commit the changes and upload them to the repositoryThe github page updates instantly.
## 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/).
Before running the tests make sure you are serving the app via `ng serve`.