-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.83 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.83 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
{
"name": "@sonn-audio/node-librespot",
"version": "0.5.2",
"description": "Node.js bindings for librespot (Spotify Connect) via N-API with prebuild support.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"prebuilds/**/*",
"index.d.ts",
"scripts/**/*",
"src/**/*",
"native/**/*",
"Cargo.toml",
"Cargo.lock",
"README.md"
],
"scripts": {
"build": "npm run clean && npm run build:native && npm run build:types",
"build:debug": "npm run clean && napi build && mkdir -p dist && mv -f librespot_addon.node dist/ && npm run build:types",
"build:native": "napi build --release --strip && mkdir -p dist && mv -f librespot_addon.node dist/",
"build:prebuild": "node scripts/prebuild.js",
"build:types": "tsc -p tsconfig.build.json && rm -f index.d.ts",
"build:types:clean": "rm -rf dist && npm run build:types",
"clean": "rm -rf build dist prebuilds *.log *.node target index.d.ts",
"test": "node scripts/test.js",
"test:connect": "node scripts/test-connect.js",
"test:service": "node scripts/test-service.js",
"update-librespot": "bash scripts/update-librespot.sh",
"prepublishOnly": "npm run build:types",
"postinstall": "node scripts/postinstall.js"
},
"keywords": [
"spotify",
"connect",
"librespot",
"napi",
"audio"
],
"repository": {
"type": "git",
"url": "git+https://github.com/lox-audioserver/node-librespot.git"
},
"author": "Rudy Berends",
"license": "Apache-2.0",
"engines": {
"node": ">=18"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.4",
"@tsconfig/node20": "^20.1.2",
"@types/node": "^22.19.3",
"typescript": "^5.4.0"
},
"dependencies": {
"node-addon-api": "^8.2.1"
},
"napi": {
"name": "librespot_addon",
"targets": [
"node"
]
}
}