-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.17 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.17 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
{
"name": "awesome-react-gamepads",
"version": "1.0.1",
"description": "A react hook, context and HOC to use the browser Gamepad API in react applications.",
"author": "Christopher Harold Butler",
"main": "./lib/index.js",
"browser": "./lib/index.umd.js",
"module": "./lib/index.es.js",
"types": "./lib/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ChristopherHButler/awesome-react-gamepads"
},
"bugs": {
"url": "https://github.com/ChristopherHButler/awesome-react-gamepads/issues"
},
"homepage": "https://github.com/ChristopherHButler/awesome-react-gamepads",
"keywords": [
"gamepad",
"gamepad api",
"react gamepad",
"react gamepads",
"react hook",
"browser gamepad",
"game controller",
"xbox controller",
"konami code"
],
"files": [
"lib/"
],
"scripts": {
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
"lint": "eslint src --ext .ts,.tsx",
"test": "jest --config jestconfig.json",
"test:watch": "jest --config jestconfig.json --watch",
"compile": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-umd.json",
"build": "NODE_ENV=production rollup --config",
"prepublishOnly": "rm -rf lib && npm run build",
"postbuild": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.2.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"prettier": "^2.4.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup": "^3.29.0",
"ts-jest": "^29.0.0",
"typescript": "^5.9.3"
},
"peerDependencies": {
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
}
}