0.0.3 • Published 5 years ago
@castelreng-private/mah v0.0.3
Mah - My Angular Helper
Angular library offering a lot of things to make development easier.
The goal of this library is to help me inmy projects and improve my Angular skills.
Code scaffolding
The directories are organized as follow:
- Components -> Hold all components
- Directives -> Hold all directives
- Services -> Hold all services
- Shared -> Hold share date, classe definitions, ...
Commands for generation:
Component:
ng generate @schematics/angular:component components/component-name --project=mah --export --styleext=scss --style=scss --no-spec --skipTests --dry-run
Build
Run ng build mah
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build mah
, go to the dist folder cd dist/mah
and run npm publish --access=public
.