Core utilities and services for angular2, such as logger.
In order to contribute please read the Contribution guidelines.
Quick links
Change logs | Project Repository | Contribution guidelines
Get library via npm
npm install @ssv/ng2-core --saveTypeScript Typings via typings
typings install github:sketch7/ssv-ng2-core --saveimport {CoreModule} from "@ssv/ng2-core";
@NgModule({
imports: [
CoreModule
],
declarations: [
AppComponent
]
}
export class AppModule {
}Install/setup the following:
- NodeJS v6+
- Visual Studio Code or similar code editor
- TypeScript 2.0+
- Git + SourceTree, SmartGit or similar (optional)
- Ensure to install global NPM modules using the following:
npm install -g git gulp typings karma-cli- Run
git clone https://github.com/sketch7/ssv-ng2-core.git - Switch to
developbranch
The following process need to be executed in order to get started.
npm installgulp build
In order to view all other tasks invoke gulp or check the gulp tasks directly.
gulp test
Handles compiling of changes.
gulp watch
Spawns test runner and keep watching for changes.
gulp tdd
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.