-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
96 lines (96 loc) · 2.2 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@adyen/react-native",
"version": "2.0.0-local.1",
"description": "Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native",
"license": "MIT",
"author": "Adyen",
"homepage": "https://adyen.com",
"repository": "https://github.com/Adyen/adyen-react-native",
"bugs": {
"url": "https://support.adyen.com/"
},
"keywords": [
"adyen",
"adyen-ios",
"adyen-android",
"checkout",
"payment",
"payments",
"components"
],
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"source": "src/index",
"react-native": "src/index",
"files": [
"lib",
"android",
"ios",
"src",
"plugin",
"app.plugin.js",
"adyen-react-native.podspec",
"LICENSE",
"README"
],
"scripts": {
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
"prepare": "./scripts/set-version.sh && bob build && tsc --build plugin",
"pods": "cd example && pod-install --quiet",
"ios": "cd example && yarn pod && yarn ios",
"android": "cd example && yarn android",
"bootstrap": "git clean -fxd && yarn && cd example && yarn"
},
"devDependencies": {
"@expo/config-plugins": "^8.0.4",
"@react-native/eslint-config": "^0.74.1",
"@tsconfig/node10": "^1.0.7",
"@types/react": "^18.0.29",
"@types/react-test-renderer": "^18.0.0",
"eslint": "^8.0.0",
"pod-install": "^0.2.0",
"react": "^18.2.0",
"react-native": "^0.74.2",
"react-native-builder-bob": "^0.23.2",
"typescript": "^5.0.2"
},
"peerDependencies": {
"expo": ">=47",
"react": "*",
"react-native": "*"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"eslintConfig": {
"root": true,
"plugins": [
"react-hooks"
],
"extends": [
"@react-native",
"prettier"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
},
"eslintIgnore": [
"node_modules/",
"lib/",
"plugin/build/"
]
}