-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.95 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 1.95 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
{
"name": "usb-hotplug",
"version": "0.1.6",
"description": "Cross-platform USB hotplug event listener — native Node.js module powered by Rust and nusb. Zero dependencies, built-in TypeScript types, automatic event debouncing.",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/e-khalilov/usb-hotplug.git"
},
"bugs": {
"url": "https://github.com/e-khalilov/usb-hotplug/issues"
},
"homepage": "https://github.com/e-khalilov/usb-hotplug#readme",
"keywords": [
"usb",
"hotplug",
"device",
"native",
"napi",
"rust",
"nusb",
"hardware",
"connect",
"disconnect",
"watcher",
"cross-platform"
],
"author": "",
"license": "MIT",
"engines": {
"node": ">=16"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"provenance": true
},
"napi": {
"binaryName": "usb-hotplug",
"packageName": "@e-khalilov/usb-hotplug",
"targets": [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc"
]
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release --js-package-name @e-khalilov/usb-hotplug",
"build:debug": "napi build --platform --js-package-name @e-khalilov/usb-hotplug",
"prepublishOnly": "napi prepublish -t npm --no-gh-release",
"version": "napi version && git add npm/"
},
"devDependencies": {
"@napi-rs/cli": "^3.0.0"
},
"files": [
"index.js",
"index.d.ts",
"LICENSE",
"README.md"
],
"optionalDependencies": {
"@e-khalilov/usb-hotplug-darwin-arm64": "0.1.1",
"@e-khalilov/usb-hotplug-darwin-x64": "0.1.1",
"@e-khalilov/usb-hotplug-linux-x64-gnu": "0.1.1",
"@e-khalilov/usb-hotplug-win32-x64-msvc": "0.1.1"
}
}