UNPKG

onoff

Version:

GPIO access and interrupt detection with Node.js

67 lines (66 loc) 1.5 kB
{ "name": "onoff", "version": "6.0.3", "description": "GPIO access and interrupt detection with Node.js", "main": "onoff.js", "types": "onoff.d.ts", "directories": { "example": "examples", "test": "test" }, "scripts": { "lint": "jshint onoff.js examples/*.js integration-test/*.js test/*.js test/*/*.js", "test": "nyc mocha", "codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "coverage-report": "nyc report --reporter=html", "integration-test": "cd integration-test && ./run-tests && cd .." }, "mocha": { "extension": [ "js", "ts" ], "require": "ts-node/register" }, "repository": { "type": "git", "url": "https://github.com/fivdi/onoff.git" }, "homepage": "https://github.com/fivdi/onoff", "bugs": { "url": "https://github.com/fivdi/onoff/issues" }, "engines": { "node": ">=10.0.0" }, "dependencies": { "epoll": "^4.0.1", "lodash.debounce": "^4.0.8" }, "devDependencies": { "@types/mocha": "^8.2.2", "@types/mock-require": "^2.0.0", "codecov": "^3.8.1", "jshint": "^2.12.0", "mocha": "^8.3.2", "mock-fs": "^4.13.0", "mock-require": "^3.0.3", "nyc": "^15.1.0", "ts-node": "^9.1.1", "typescript": "^4.2.4" }, "keywords": [ "gpio", "iot", "interrupt", "raspberry", "raspi", "rpi", "pi", "beaglebone", "beaglebone-black", "linux" ], "author": "fivdi", "license": "MIT" }