Angular IOTile Cloud Interface
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
6.10.0 and NPM version
ng-iotile-cloud depends on
npm install --save ng-iotile-cloud
Then include the
ng-iotile-cloud in your project.
git clone https://github.com/iotile/ng-iotile-cloud.gitnpm installnpm run build
You may need to install
typings install dt~es6-shim --save --global
To have karma to watch for changes:
npm run test:w
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
# 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