2022.11.11-dev.2 • Published 3 years ago

therma-sensor-consumer v2022.11.11-dev.2

Weekly downloads
-
License
UNLICENSED
Repository
bitbucket
Last release
3 years ago

therma-sensor-consumer

Consumer that takes sensor data from therma and decodes the payload and formats it for use in therma-energy

Usage

Start development version:

npm run dev

Install dependencies:

npm ci

Add a pacakge:

npm install --save <package name>

Add a dev pacakge (types, stuff for testing only, etc):

npm install --save-dev <package name>

Publish to npm: This is handled automatically in the bitbucket pipeline once a tag is made from a release. The tag name is used as version number in that case. So only do this if you want to manually publish a version. Replace patch with whatever you want to increase: major | minor | patch. Or specify the version number directly.

npm version patch
npm publish

Run tests:

npm run test

Run linter:

npm run lint

Build the package:

npm run build