-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 2.76 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "lifxlan",
"version": "0.0.85",
"description": "TypeScript library for controlling LIFX products over LAN",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"sideEffects": false,
"scripts": {
"test": "bun test --coverage",
"test:integration": "bun test ./tests/integration.ts --timeout 30000",
"build": "bun run build:esm && bun run build:cjs && bun run build:minify",
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build:minify": "bun run scripts/minify.mjs",
"prepack": "bun run test && bun run build",
"lint": "oxlint",
"docs": "typedoc",
"bench": "bun run benchmarks/performance.ts"
},
"keywords": [
"lifx",
"lan",
"smart-lights",
"iot",
"home-automation",
"smart-home",
"lights",
"bulbs",
"typescript",
"deno",
"bun",
"nodejs",
"wifi-lights",
"color-lights",
"led",
"protocol",
"api",
"client",
"library"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./discovery": {
"import": {
"types": "./dist/esm/discovery.d.ts",
"default": "./dist/esm/discovery.js"
},
"require": {
"types": "./dist/cjs/discovery.d.ts",
"default": "./dist/cjs/discovery.js"
}
},
"./encoding": {
"import": {
"types": "./dist/esm/encoding.d.ts",
"default": "./dist/esm/encoding.js"
},
"require": {
"types": "./dist/cjs/encoding.d.ts",
"default": "./dist/cjs/encoding.js"
}
},
"./products": {
"import": {
"types": "./dist/esm/products.d.ts",
"default": "./dist/esm/products.js"
},
"require": {
"types": "./dist/cjs/products.d.ts",
"default": "./dist/cjs/products.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jmmoser/lifxlan.git"
},
"homepage": "https://github.com/jmmoser/lifxlan#readme",
"bugs": {
"url": "https://github.com/jmmoser/lifxlan/issues"
},
"engines": {
"node": ">=22"
},
"author": "Justin Moser",
"license": "MIT",
"devDependencies": {
"@types/bun": "^1.3.3",
"@types/node": "^24.10.1",
"esbuild": "^0.28.0",
"mitata": "^1.0.34",
"oxlint": "^1.30.0",
"typedoc": "^0.28.19",
"typescript": "^5.9.3"
}
}