-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.34 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.34 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@unraid/libvirt",
"version": "2.2.1",
"description": "Libvirt bindings for Node.js® - forked from vmngr/libvirt",
"main": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"type": "module",
"publishConfig": {
"access": "public"
},
"gypfile": true,
"binary": {
"module_name": "libvirt",
"module_path": "build/Release",
"host": "https://github.com/unraid/libvirt/releases/download/",
"remote_path": "v{version}",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz",
"target": ">=14.0.0",
"target_platform": [
"linux",
"darwin"
],
"target_arch": [
"x64",
"arm64"
],
"runtime": "node"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"binding.gyp",
"src"
],
"scripts": {
"clean": "rimraf dist build",
"build": "pnpm build/validate && pnpm build/native && pnpm build/ts",
"build/validate": "node scripts/validate-platform.js",
"build/native": "node-gyp rebuild",
"build/ts": "tsc --build --verbose",
"prepare": "pnpm build",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:package": "rimraf /tmp/libvirt && mkdir /tmp/libvirt && cp -r dist package.json README.md LICENSE binding.gyp src /tmp/libvirt/ && cd /tmp/libvirt && pnpm install",
"examples/list": "node examples/list.js",
"examples/start": "node examples/start.js",
"examples/shutdown": "node examples/shutdown.js",
"examples/builder": "node examples/builder.js",
"install": "node-pre-gyp install --fallback-to-build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unraid/libvirt.git"
},
"keywords": [
"libvirt",
"lxc",
"openvz",
"qemu",
"virtualbox",
"vmware",
"esx",
"esxi",
"xen",
"hyperv",
"powervm",
"virtuozzo",
"bhyve"
],
"author": "Unraid Team (original author Leon Rinkel <leon@rinkel.me>)",
"license": "MIT",
"bugs": {
"url": "https://github.com/unraid/libvirt/issues"
},
"homepage": "https://github.com/unraid/libvirt#readme",
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^8.3.0",
"tsx": "^4.19.2",
"xml2js": "^0.6.2",
"@mapbox/node-pre-gyp": "^2.0.0"
},
"devDependencies": {
"@types/bindings": "^1.5.5",
"@types/chai": "^5.0.1",
"@types/node": "^24.0.0",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"@vitest/coverage-v8": "^3.0.0",
"@vitest/ui": "^3.0.0",
"chai": "^6.0.0",
"chalk": "^5.4.1",
"detect-libc": "^2.0.3",
"eslint": "^9.20.1",
"eslint-config-xo": "^0.46.0",
"eslint-config-xo-typescript": "^7.0.0",
"eslint-plugin-unicorn": "^58.0.0",
"gts": "^6.0.2",
"rimraf": "^6.0.1",
"tsup": "^8.3.6",
"typescript": "^5.7.3",
"vitest": "^3.0.0"
},
"os": [
"linux",
"darwin"
],
"cpu": [
"x64",
"arm64"
],
"engines": {
"node": ">=14"
},
"system_requirements": {
"libvirt": ">=6.0.0",
"qemu": ">=5.0.0"
},
"packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6"
}