UNPKG

ws2801-pi

Version:

WS2801-Pi is a module for controlling WS2801 LED strips with a Raspberry Pi via SPI.

57 lines (56 loc) 1.69 kB
{ "name": "ws2801-pi", "version": "1.2.0", "description": "WS2801-Pi is a module for controlling WS2801 LED strips with a Raspberry Pi via SPI.", "main": "dist/index.js", "author": "Steffen Knaup <steffenknaup@hotmail.de>", "license": "MIT", "scripts": { "build": "npm run build:package && npm run build:tests", "build:package": "tsc", "build:tests": "tsc --p tests/ts", "lint": "tslint --project .", "test": "npm run test:js && npm run test:ts", "test:js": "c8 mocha tests/js/tests.js --timeout 15000 --exit", "test:ts": "c8 mocha tests/ts/tests.js --timeout 15000 --exit", "test:pi": "npm run test:js -- --noDebug && npm run test:ts -- --noDebug", "test:coverage": "npm run test:coverage-check && npm run test:coverage-report", "test:coverage-check": "c8 check-coverage --lines 70 --functions 70 --branches 70", "test:coverage-report": "c8 report" }, "repository": { "type": "git", "url": "git+https://github.com/SteffenKn/WS2801-PI.git" }, "keywords": [ "WS2801", "Led", "Strip", "Controller", "LedController", "Pi", "Raspberry" ], "bugs": { "url": "https://github.com/SteffenKn/WS2801-PI/issues" }, "homepage": "http://ws2801-pi.knaup.dev/", "dependencies": { "async-lock": "1.2.6", "pi-spi": "1.2.1" }, "devDependencies": { "@types/async-lock": "1.1.2", "@types/chai": "4.2.14", "@types/mocha": "8.2.0", "@types/node": "14.14.19", "@types/optimist": "0.0.29", "@types/pi-spi": "0.0.28", "c8": "7.4.0", "chai": "4.2.0", "mocha": "8.2.1", "optimist": "0.6.1", "tslint": "6.1.3", "typescript": "4.1.3" } }