@mcesystems/usb-device-listener 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +67 -75
package/package.json
CHANGED
|
@@ -1,76 +1,68 @@
|
|
|
1
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
|
-
"check:types": "tsc --noEmit",
|
|
70
|
-
"pack": "npm pack",
|
|
71
|
-
"test": "vitest run",
|
|
72
|
-
"test:watch": "vitest",
|
|
73
|
-
"listDevices": "cross-env DEBUG=* tsx ./src/examples/list-devices.ts",
|
|
74
|
-
"example": "cross-env DEBUG=* tsx ./src/examples/example.ts"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
2
|
+
"name": "@mcesystems/usb-device-listener",
|
|
3
|
+
"version": "1.0.9",
|
|
4
|
+
"description": "Native Windows USB device listener using PnP notifications without custom drivers",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"types": "src/index.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./src/index.ts",
|
|
11
|
+
"types": "./src/index.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"prebuild:gyp": "prebuildify --napi --strip --target 25.2.1",
|
|
16
|
+
"build": "tsx esbuild.config.ts && tsc --emitDeclarationOnly",
|
|
17
|
+
"rebuild": "node-gyp rebuild",
|
|
18
|
+
"clean": "node-gyp clean && rimraf dist",
|
|
19
|
+
"check:types": "tsc --noEmit",
|
|
20
|
+
"prepublishOnly": "npm run check:types",
|
|
21
|
+
"pack": "npm pack",
|
|
22
|
+
"publish": "npm publish",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:watch": "vitest",
|
|
25
|
+
"listDevices": "cross-env DEBUG=* tsx ./src/examples/list-devices.ts",
|
|
26
|
+
"example": "cross-env DEBUG=* tsx ./src/examples/example.ts"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"usb",
|
|
30
|
+
"device",
|
|
31
|
+
"listener",
|
|
32
|
+
"monitor",
|
|
33
|
+
"hotplug",
|
|
34
|
+
"pnp",
|
|
35
|
+
"windows",
|
|
36
|
+
"native",
|
|
37
|
+
"addon",
|
|
38
|
+
"n-api",
|
|
39
|
+
"typescript",
|
|
40
|
+
"esm",
|
|
41
|
+
"device-detection",
|
|
42
|
+
"hardware"
|
|
43
|
+
],
|
|
44
|
+
"author": "USB Device Listener Contributors",
|
|
45
|
+
"license": "ISC",
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"node-addon-api": "^8.2.1",
|
|
48
|
+
"node-gyp-build": "^4.8.4"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"typescript": ">=5.0.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^24.10.1",
|
|
55
|
+
"cross-env": "^10.1.0",
|
|
56
|
+
"esbuild": "^0.27.0",
|
|
57
|
+
"esbuild-plugin-copy": "^2.1.1",
|
|
58
|
+
"node-gyp": "^10.3.1",
|
|
59
|
+
"prebuildify": "^6.0.1",
|
|
60
|
+
"rimraf": "^6.1.2",
|
|
61
|
+
"tsx": "^4.21.0",
|
|
62
|
+
"typescript": "^5.9.3",
|
|
63
|
+
"vitest": "^2.1.8"
|
|
64
|
+
},
|
|
65
|
+
"files": ["src", "prebuilds", "native", "binding.gyp", "tsconfig.json", "README.md"],
|
|
66
|
+
"gypfile": true,
|
|
67
|
+
"os": ["win32"]
|
|
68
|
+
}
|