@shubham0x13/ffbeast-wheel-webhid-api 0.1.0 → 1.0.0
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/README.md +47 -38
- package/dist/index.d.ts +216 -173
- package/dist/index.js +665 -439
- package/package.json +20 -29
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shubham0x13/ffbeast-wheel-webhid-api",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "TypeScript library for configuring and controlling FFBeast force feedback wheel controllers over WebHID",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ffbeast",
|
|
7
7
|
"webhid",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"author": "Shubham Patel",
|
|
26
|
+
"sideEffects": false,
|
|
26
27
|
"type": "module",
|
|
27
28
|
"exports": {
|
|
28
29
|
".": "./dist/index.js",
|
|
@@ -30,9 +31,7 @@
|
|
|
30
31
|
},
|
|
31
32
|
"types": "./dist/index.d.ts",
|
|
32
33
|
"files": [
|
|
33
|
-
"dist"
|
|
34
|
-
"README.md",
|
|
35
|
-
"LICENSE"
|
|
34
|
+
"dist"
|
|
36
35
|
],
|
|
37
36
|
"scripts": {
|
|
38
37
|
"build": "tsdown",
|
|
@@ -40,45 +39,37 @@
|
|
|
40
39
|
"docs": "typedoc",
|
|
41
40
|
"format": "prettier --write .",
|
|
42
41
|
"format:check": "prettier --check .",
|
|
43
|
-
"lint": "eslint .",
|
|
42
|
+
"lint": "eslint . --max-warnings=0",
|
|
44
43
|
"lint:fix": "eslint . --fix",
|
|
45
44
|
"prepare": "husky",
|
|
46
45
|
"prepublishOnly": "npm run build",
|
|
47
|
-
"test": "
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
48
|
"typecheck": "tsc --noEmit"
|
|
49
49
|
},
|
|
50
50
|
"lint-staged": {
|
|
51
|
-
"
|
|
52
|
-
"sort-package-json"
|
|
53
|
-
],
|
|
54
|
-
"*.{ts,tsx,js,jsx}": [
|
|
51
|
+
"*.ts": [
|
|
55
52
|
"eslint --fix",
|
|
56
53
|
"prettier --write"
|
|
57
54
|
],
|
|
58
|
-
"*.{json,yml,yaml
|
|
59
|
-
"prettier --write"
|
|
60
|
-
]
|
|
55
|
+
"*.{mjs,json,md,yml,yaml}": "prettier --write"
|
|
61
56
|
},
|
|
62
57
|
"dependencies": {
|
|
58
|
+
"@types/w3c-web-hid": "^1.0.7",
|
|
63
59
|
"eventemitter3": "^5.0.1"
|
|
64
60
|
},
|
|
65
61
|
"devDependencies": {
|
|
66
|
-
"@eslint/js": "^
|
|
67
|
-
"@tsconfig/strictest": "^2.0.
|
|
68
|
-
"
|
|
69
|
-
"@types/w3c-web-hid": "^1.0.6",
|
|
70
|
-
"eslint": "^9.39.2",
|
|
62
|
+
"@eslint/js": "^10.0.1",
|
|
63
|
+
"@tsconfig/strictest": "^2.0.9",
|
|
64
|
+
"eslint": "^10.15.0",
|
|
71
65
|
"eslint-config-prettier": "^10.1.8",
|
|
72
66
|
"husky": "^9.1.7",
|
|
73
|
-
"lint-staged": "^
|
|
74
|
-
"prettier": "^3.
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"typescript": "^
|
|
79
|
-
"
|
|
80
|
-
},
|
|
81
|
-
"engines": {
|
|
82
|
-
"node": ">=18"
|
|
67
|
+
"lint-staged": "^17.6.1",
|
|
68
|
+
"prettier": "^3.10.1",
|
|
69
|
+
"tsdown": "^0.23.7",
|
|
70
|
+
"typedoc": "^0.28.20",
|
|
71
|
+
"typescript": "~6.0.3",
|
|
72
|
+
"typescript-eslint": "^8.73.0",
|
|
73
|
+
"vitest": "^5.1.1"
|
|
83
74
|
}
|
|
84
75
|
}
|