0.0.1 • Published 7 years ago

ng-capsule9 v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Introduction

ng-capsule9 is angular 4 ui component based on Bulma.

Getting Started

1. Installation

Run the following command on your terminal to add dependencies in package.json.

npm install --save git+https://github.com/omiologic/ng-capsule9.git

2. Import module

In order to use DHS Common Module on your Angular4 project, you must import the module in app.module.ts.

src/app.module.ts

import ...
import { NgCapsule9Module } from 'ng-capsule9';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    NgCapsule9Module.forRoot()
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}

Scripts

CommandDescription
npm startBuild and start demo-app on localhost:4200
npm run buildBuild demo-app to /dist
npm run lintRun tslint
npm testRun single run karma testing
npm run test-browserRun karma testing on Chrome browser
npm run coverageRun karma testing istanbul coverage
npm run coverage-openOpen karma coverage test report