year-scheduler
v2.3.5
Published
An Angular Year Scheduler component.
Downloads
75
Maintainers
Readme
AxiomScheduler
This library was generated with Angular CLI version 7.2.0.
Code scaffolding
Run ng generate component component-name --project year-scheduler
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project year-scheduler
.
Note: Don't forget to add
--project year-scheduler
or else it will be added to the default project in yourangular.json
file.
Developing
Para desarrollar el componente es necesario que el proyecto principal coja automáticamente los nuevos builds generados al recompilar. Para que esto sea asi es necesario hacer lo siguiente
cd dist/year-scheduler
npm link
A continuacion vamos a la carpeta principal de la libreria y ejecutamos npm link year-scheduler
Con esto provocamos que el proyecto principal coja la dependencia directamente de la carpeta donde se compila la librería y que cada vez que se haga un cambio en la librería, el proyecto principal se entere y se recompile.
Para ejecutar la librería y que recompile automáticamente usar el comando: ng build --project=year-scheduler --watch
Para deshacer estos cambios basta con ejecutar npm unlink --no-save year-scheduler
en el directorio principal y npm unlink
en dist/year-scheduler
Build
Run ng build year-scheduler
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build year-scheduler
, go to the dist folder cd dist/year-scheduler
and run npm publish
.
Running unit tests
Run ng test year-scheduler
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.