1.0.19 • Published 8 years ago

manalto-portal-core v1.0.19

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
8 years ago

Manalto Portal Core

Build Status npm version devDependency Status GitHub issues GitHub stars GitHub license

Table of contents

About

This is a shared, featured service used by Manalto

Installation

Install through npm:

npm install --save manalto-portal-core

Then use it in your app like so:

import {Component} from '@angular/core';
import {SideMenu} from 'manalto-portal-core';

@Component({
  selector: 'mn-side-menu',
  directives: [SideMenu],
  template: '<mn-side-menu></mn-side-menu>'
})
export class DemoApp {}

Usage without a module bundler

<script src="node_modules/dist/umd/manalto-portal-core/manalto-portal-core.js"></script>
<script>
    // everything is exported manaltoPortalCore namespace
</script>

Development

Prepare your environment

  • Install Node.js and NPM (should come with)
  • Install local dev dependencies: npm install while current directory is this repo

Development server

Run npm start to start a development server on port 8000 with auto reload + tests.

Testing

Run npm test to run tests once or npm run test:watch to continually run tests.

Release

  • Bump the version in package.json (once the module hits 1.0 this will become automatic)
npm run release

License

MIT

1.0.19

8 years ago