UNPKG

@pinlab/mighty-gpio

Version:

Raspberry Pi GPIO module with emulation support

70 lines (69 loc) 1.79 kB
{ "name": "@pinlab/mighty-gpio", "description": "Raspberry Pi GPIO module with emulation support", "version": "1.0.1", "license": "LGPL-3.0-or-later", "repository": { "type": "git", "url": "https://github.com/shpingalet007/mighty-gpio.git" }, "keywords": [ "bcm2835", "gpio", "pi", "raspberry pi", "rpi", "rpio", "onoff", "pwm", "i2c", "spi", "m2m", "iot", "IoT", "industry 4.0" ], "main": "dist/index.js", "types": "types/mighty-gpio.d.ts", "files": [ "dist", "types" ], "publishConfig": { "access": "public" }, "scripts": { "build:dev": "ncc build src/main.ts -o dist --source-map", "build:prod": "ncc build src/main.ts -m -o dist", "pack:dev": "npm run build:dev && npm pack", "pack:prod": "npm run build:prod && npm pack", "pack:dev:install": "npm run pack:dev && npm r mighty-gpio && npm i mighty-gpio-1.0.0.tgz", "start:socket": "ts-node tests/utils/socket.ts", "start:socket:debug": "node --inspect-brk --enable-source-maps -r ts-node/register tests/utils/socket.ts", "lint": "prettier --write '{src,tests,types}/**/*.ts'", "test": "mocha", "coverage": "c8 npm run test" }, "dependencies": { "@types/node": "^22.14.1", "mighty-gpio": "file:mighty-gpio-1.0.0.tgz", "ts-node": "^10.9.2" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/chai": "^5.2.2", "@types/express": "^5.0.1", "@types/mocha": "^10.0.10", "@vercel/ncc": "^0.38.3", "c8": "^10.1.3", "chai": "^5.2.0", "express": "^5.1.0", "mocha": "^11.2.2", "prettier": "^3.5.3", "socket.io": "^4.8.1", "typescript": "^5.5.3" }, "optionalDependencies": { "array-gpio": "^1.7.4" } }