-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·94 lines (94 loc) · 2.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"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
}