macmillan-angular-component-library
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

MacmillanAngularComponentLibrary

This project was generated with Angular CLI version 1.6.1.

Development server

  • CD to local component library
  • 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. Use the -prod flag for a production build.

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 Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

component-library

Angular Component Library for Macmillan brand elements

Generate library documentation

  • CD to local component library
  • npm run doc:build

  • open "MacmillanAngularComponentLibrary/documentation/index.html" to view package documentation

Publish to npm

  • Update application version number in package.json
  • CD to local component library
  • npm run packagr

  • cd dist

  • npm pack

  • cd ..

  • npm login

  • enter npm username
  • enter npm password
  • enter npm email
  • npm publish dist

Readme

Keywords

none

Package Sidebar

Install

npm i macmillan-angular-component-library

Weekly Downloads

6

Version

0.0.13

License

MIT

Last publish

Collaborators

  • macmillancancersupport