ssv-ng2-core
TypeScript icon, indicating that this package has built-in type declarations

0.0.2-rc.3 • Public • Published

ssv-ng2-core

Build status Build status bitHound Overall Score npm version

Deprecated!

Instead use @ssv/ng2-core

Sketch7 Angular2 core components and utilities

In order to contribute please read the Contribution guidelines.

Quick links

Change logs | Project Repository | Contribution guidelines

Installation

Get library via npm

npm install ssv-ng2-core --save

TypeScript Typings via typings

typings install github:sketch7/ssv-ng2-core --save

Usage

import {LoggerFactory, ILog} from "ssv-ng2-core";


private logger: ILog;

constructor(
	loggerFactory: LoggerFactory
) {
	this.logger = loggerFactory.getInstance(id);
}

Logger

Read more how to use Logger.

Getting Started

Setup Machine for Development

Install/setup the following:

  • NodeJS v4+
  • Visual Studio Code or similar code editor
  • TypeScript 1.8+
  • SourceTree, SmartGit (or similar)
  • Ensure to install global NPM modules using the following:
npm install -g git gulp typings karma-cli

Cloning Repo

  • Open SourceTree
  • Clone project repo from project git
  • Switch to develop branch

Project Setup

The following process need to be executed in order to get started.

npm install

Building the code

gulp build

In order to view all other tasks invoke gulp or check the gulp tasks directly.

Running the tests

gulp test

Development utils

Trigger gulp watch

Handles compiling of changes.

gulp watch

Running Continuous Tests

Spawns test runner and keep watching for changes.

gulp tdd

Preparation for Release

gulp prepare-release --bump major|minor|patch|prerelease (default: patch)

Check out the release workflow guide in order to guide you creating a release and publishing it.

Package Sidebar

Install

npm i ssv-ng2-core

Weekly Downloads

1

Version

0.0.2-rc.3

License

MIT

Last publish

Collaborators

  • stephenlautier