Skip to content

rangle/radius-angular

Repository files navigation

RadiusAngular

This project was generated with Angular CLI version 12.0.3.

Development server

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.

Code scaffolding

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Creating NPM Packages

  • Run the command npm run build:ds to build the design system, this will create a dist folder, in package.json in dist folder change the name and the version of it accordingly.
  • Go into dist directory using command cd dist.
  • Pack the distribution directory using npm pack as an archive to upload.
  • Publish the library using npm publish.

You would have to do npm login to publish the library. If you have an account put your login information or, you can create one at https://www.npmjs.com for free.