-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.44 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.44 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
{
"name": "gamepad.js",
"version": "3.0.1",
"description": "A simple HTML5 Gamepad handler that provides keyboard-like events for Gamepad axes and button",
"author": "Thomas Jarrand <thomas.jarrand@gmail.com> (https://thomas.jarrand.fr)",
"license": "MIT",
"homepage": "https://github.com/Tom32i/gamepad.js",
"keywords": [
"gamepad",
"controller",
"api",
"html5",
"browser",
"xbox"
],
"scripts": {
"start": "vite preview",
"watch": "vite build --watch",
"build": "vite build --mode=production",
"lint": "eslint src/* --ext .js,.json --fix",
"test": "vitest --run",
"test-watch": "vitest --watch"
},
"files": [
"src",
"dist"
],
"type": "module",
"main": "./dist/gamepad.umd.cjs",
"module": "./dist/gamepad.js",
"exports": {
".": {
"import": "./dist/gamepad.js",
"require": "./dist/gamepad.umd.cjs"
},
"./GamepadHandler.js": {
"import": "./src/GamepadHandler.js"
},
"./GamepadListener.js": {
"import": "./src/GamepadListener.js"
},
"./tools": {
"import": "./src/tools"
}
},
"dependencies": {
"option-resolver.js": "^1.1.0",
"tom32i-event-emitter.js": "^2.2.0"
},
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.3",
"@babel/preset-env": "^7.28.3",
"babel-loader": "^10.0.0",
"eslint": "^9.14.0",
"globals": "^15.11.0",
"vite": "^7.1.3",
"vitest": "^4.1.0"
}
}