Sign In

ng-iotile-cloud

Package Overview
Dependencies
Maintainers
4
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-iotile-cloud

Build an Angular library compatible with AoT compilation and Tree shaking

latest
Source
npmnpm
Version
0.27.2
Version published
Maintainers
4
Created
Source

ng-iotile-cloud

Build Status NPM version

Angular IOTile Cloud Interface

Prerequisites

If you're using Typescript in your project, ng-iotile-cloud requires Typescript v2.0.0 or greater. Also make sure that your editor (Visual Studio Code, Atom, Webstorm, etc.) supports Typescript >= v2.0.0 or you'll see errors even though it compiles.

The lirbrary uses Node version 6.10.0 and NPM version 5.6.0.

Dependencies

ng-iotile-cloud depends on moment

Install

npm install --save ng-iotile-cloud

Then include the ng-iotile-cloud in your project.


// TODO

Building

git clone https://github.com/iotile/ng-iotile-cloud.git
npm install
npm run build

You may need to install

typings install dt~es6-shim --save --global

Testing

npm test

To have karma to watch for changes:

npm run test:w

Release

Update package.json with a new version number.

npm install . to update the package-lock.json to the equivalent version number.

Our version numbering follows Major.Minor.Patch (e.g 0.12.9)

  • Minor: Every time there is new functionality. New API, remove API, change of behavior in API
  • Patch: A fix to a bug. Note this can still change functionality, but if the old functionality was basically always wrong, then we can call it a patch.
npm run clean
npm publish

Travis will release automatically after a Tag is created in github

Using Docker

# Build image
docker build -t ng2iotile .
# Runs test
docker run --rm ng2iotile
# Runs test with mounted drive
docker run --rm -v $PWD/src:/usr/src/app/src ng2iotile
# Build for release
docker run --rm -v $PWD:/usr/src/app ng2iotile run build

Keywords

angular

FAQs

Package last updated on 04 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts