@sdl/models
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-10 • Public • Published

SDL Models

Utility library containing models..

Releases

See Releases.

Building

In order to build make sure you have Node.js installed (v6 or higher).

Installing the necessary packages

npm install gulp-cli -g
npm install

Gulp tasks

# Build (debug)
gulp build

# Build everything and setup a server (debug)
gulp serve

# Build everything and setup a server (release)
gulp serve:dist

# Build (release)
gulp

# Test (debug)
# Default browser is PhantomJS
gulp serve:test
gulp serve:test --browsers Chrome
gulp serve:test --browsers "Chrome,IE,Firefox,PhantomJS"

# Test (release)
# Default browser is PhantomJS
gulp test
gulp test --browsers Chrome
gulp test --browsers "Chrome,IE,Firefox,PhantomJS"

# Measure test coverage
# Default browser is PhantomJS
gulp test-coverage
gulp test-coverage --browsers Chrome
gulp test-coverage --browsers "Chrome,IE,Firefox,PhantomJS"

Setting up Visual Studio Code

Preffered IDE for GUI development is Visual Studio Code.

Some extensions you should install (Managing extensions):

  1. TSLint: get linting feedback as you type
  2. Editor Config: adds support for the .editorconfig file
  3. Document this: automatically generates detailed JSDoc comments in TypeScript and javascript files

Readme

Keywords

none

Package Sidebar

Install

npm i @sdl/models

Weekly Downloads

2

Version

0.1.0-10

License

Apache-2.0

Last publish

Collaborators

  • benginear
  • artefact-publishers
  • janb87
  • rumbalaidea
  • beardcore
  • frnkclsst
  • oleksii