UNPKG

telldus2graphite

Version:

Fetches sensor values from Telldus Live and forwards it to Graphite

95 lines (94 loc) 2.43 kB
{ "name": "telldus2graphite", "version": "2.1.2", "description": "Fetches sensor values from Telldus Live and forwards it to Graphite", "keywords": [ "telldus", "graphite" ], "homepage": "https://ashpool.github.io/telldus2graphite", "bugs": { "url": "https://github.com/ashpool/telldus2graphite/issues" }, "license": "MIT", "author": "Magnus Ljadas <magnus.ljadas@gmail.com> (https://github.com/ashpool)", "contributors": [ { "name": "Magnus Ljadas <magnus.ljadas@gmail.com> (https://github.com/ashpool)" } ], "main": "bin/telldus2graphite", "bin": { "telldus2graphite": "./bin/telldus2graphite.js" }, "files": [ "build", "bin" ], "repository": { "type": "git", "url": "git://github.com/ashpool/telldus2graphite.git" }, "scripts": { "build": "tsc", "eslint": "eslint . --ext ts --fix", "eslint:fix": "eslint . --ext ts --fix", "test:security": "npm audit --audit-level=high --registry=https://registry.npmjs.org", "test": "npm run test:security && npm run eslint && jest --coverage --detectOpenHandles", "precommit": "lint-staged" }, "lint-staged": { "*.{js,md,json,d.ts}": [ "npm run prettier", "git add" ] }, "preferGlobal": true, "engines": { "node": ">=8" }, "dependencies": { "dotenv": "^10.0.0", "graphite-promise": "3.0.3", "telldus-live-promise": "^2.1.6" }, "devDependencies": { "@types/node": "^16.11.3", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", "@types/jest": "^27.0.2", "eslint": "^7.32.0", "eslint-plugin-import": "^2.25.2", "eslint-config-prettier": "^8.3.0", "eslint-plugin-promise": "^5.1.1", "eslint-plugin-typescript": "^0.14.0", "eslint-plugin-jest": "^25.2.2", "prettier": "^2.4.1", "jest": "^27.2.5", "ts-jest": "27.0.5", "typescript": "^4.4.4", "typescript-eslint-parser": "^22.0.0" }, "jest": { "transform": { "^.+\\.(ts|tsx)$": "ts-jest" }, "setupFilesAfterEnv": [ "./test/env.ts" ], "moduleFileExtensions": [ "ts", "js", "json" ], "testMatch": [ "<rootDir>/src/**/__tests__/**/*.ts?(x)", "<rootDir>/test/**/?(*.)(spec|test).ts?(x)" ], "collectCoverageFrom": [ "src/**/*.{js,jsx,ts,tsx}" ], "testEnvironment": "node", "forceExit": true } }