UNPKG

piixel

Version:

Control WS281X / NeoPixel LEDs from a Raspberry Pi using Node.js and TypeScript

95 lines (94 loc) 2.64 kB
{ "name": "piixel", "version": "1.2.2", "description": "Control WS281X / NeoPixel LEDs from a Raspberry Pi using Node.js and TypeScript", "keywords": [ "neopixel", "led", "ledstrip", "WS281x", "WS2812", "SK6812RGB", "SK6812", "SK6812RGBW", "rpi_ws281x", "Raspberry Pi" ], "repository": { "type": "git", "url": "https://github.com/bjoerge/piixel.git" }, "license": "MIT", "author": "Bjørge Næss", "type": "module", "exports": { ".": { "source": "./src/index.ts", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "directories": { "doc": "docs", "example": "examples" }, "files": [ "src", "addon", "binding.gyp", "dist", "README.md", "package.json" ], "scripts": { "build": "pkg build --strict --check --clean", "native:build": "node-gyp build", "native:build:force": "run-s native:clean native:configure native:build", "native:clean": "node-gyp clean", "native:configure": "node-gyp configure", "native:rebuild": "node-gyp clean", "sync:rpi_ws281x": "git subtree pull --prefix addon/rpi_ws281x https://github.com/jgarff/rpi_ws281x master --squash", "test:types": "vitest --run", "test:types:watch": "vitest --watch", "test:binding": "node --test bindings-test.js", "format": "prettier --write . && clang-format -style=Chromium -i addon/addon.cpp addon/addon.h", "prepare": "husky install", "install": "node-gyp rebuild", "doc": "run-s build && api-extractor run --local && api-documenter markdown -i temp -o docs", "prepublishOnly": "npm run build", "test": "run-s test:types" }, "dependencies": { "ansi-escapes": "^7.0.0", "bindings": "^1.5.0", "chalk": "^5.3.0", "node-addon-api": "^7.1.0" }, "devDependencies": { "@sanity/pkg-utils": "^6.11.12", "@types/bindings": "^1.5.5", "@types/node": "^18.19.18", "@typescript-eslint/eslint-plugin": "^7.0.2", "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-simple-import-sort": "^12.0.0", "git-format-staged": "^3.1.0", "glob": "^10.3.10", "husky": "^8.0.0", "npm-run-all": "^4.1.5", "prettier": "^3.2.5", "prettier-plugin-packagejson": "^2.4.12", "tsx": "^4.11.0", "typescript": "^5.4.5", "vitest": "^1.3.1" }, "engines": { "node": ">= 18.0.0" }, "gypfile": true }