-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 2.03 KB
/
package.json
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
{
"name": "awesome-react-gamepads",
"version": "0.1.7",
"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 API",
"React-Gamepad",
"React-Gamepads"
],
"files": [
"lib/"
],
"scripts": {
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"test": "jest --config jestconfig.json",
"compile": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-umd.json",
"build": "NODE_ENV=production rollup --config",
"prepublish": "rm -rf lib && npm run build",
"postbuild": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz"
},
"dependencies": {
"@react-native-community/masked-view": "^0.1.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"babel-core": "^6.26.3",
"babel-runtime": "^6.26.0",
"react-native-gesture-handler": "^1.10.3",
"react-native-reanimated": "^2.2.3",
"react-native-safe-area-context": "^3.3.2",
"react-native-screens": "^3.9.0",
"rollup": "^2.58.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0"
},
"devDependencies": {
"@types/react": "^17.0.30",
"@types/react-dom": "^17.0.9",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.4.4"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}