UNPKG

@chrispyduck/homie-sensors

Version:

Sensor library intended for ues with homie-device

73 lines (72 loc) 2.4 kB
{ "name": "@chrispyduck/homie-sensors", "description": "Sensor library intended for ues with homie-device", "version": "0.1.54", "author": { "name": "Chris Carlson", "url": "https://github.com/chrispyduck" }, "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", "repository": { "type": "git", "url": "http://github.com/chrispyduck/homie-aht20.git" }, "keywords": [ "AHT20", "Homie", "IoT", "RaspberryPi" ], "engines": { "node": "~15.5" }, "devDependencies": { "@bazel/typescript": "^1.7.0", "@chrispyduck/homie-device": "^0.1.24", "@istanbuljs/nyc-config-typescript": "^1.0.1", "@types/chai": "^4.2.11", "@types/mocha": "^7.0.2", "@types/request": "^2.48.5", "@types/ws": "^8.2.0", "@typescript-eslint/eslint-plugin": "^4.9.0", "@typescript-eslint/parser": "^4.9.0", "chai": "^4.2.0", "chai-events": "0.0.3", "coveralls": "^3.1.1", "eslint": "^7.15.0", "mocha": "^9.1.3", "nyc": "^15.1.0", "shx": "^0.3.2", "ts-node": "^8.10.2", "typescript": "^3.9.7", "watch": "^0.13.0" }, "dependencies": { "@types/i2c-bus": "^5.1.0", "@types/jsdom": "^16.2.5", "@types/lodash": "^4.14.165", "@types/node": "^13.13.9", "i2c-bus": "^5.2.1", "jsdom": "^16.4.0", "lodash": "^4.17.20", "winston": "^3.3.3" }, "peerDependencies": { "@chrispyduck/homie-device": "^0.1.34" }, "scripts": { "watch": "watch 'npm run test' .", "clean": "npx shx rm -rf .nyc_output/ node_modules/ dist/ docs/ tsconfig.tsbuildinfo tsconfig.src.tsbuildinfo", "build": "npx tsc --build src", "rebuild": "npm run clean && npm install && npm run build", "test": "mocha --exit -r ts-node/register --grep='#Integration' --invert test/**/*.ts src/**/*.tests.ts", "test.dir": "npx nyc --source-map --include \"src/${DIR}/**/*.ts\" mocha --grep='#Integration' --invert --exit -r ts-node/register test/**/*.ts \"src/${DIR}/**/*.tests.ts\" ", "test.all": "npx nyc --source-map --include \"src/**/*.ts\" -- mocha --exit -r ts-node/register \"test/**/*.ts\" \"src/*.tests.ts\" \"src/**/*.tests.ts\"", "test.i2c": "env DIR=i2c npm run test.dir", "test.net": "env DIR=net npm run test.dir", "coverage": "npx nyc report --reporter=text-lcov | coveralls", "lint": "npx eslint 'src/**/*.ts' 'test/**/*.ts'" } }