Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 3.32 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 3.32 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@pingfront/react-native",
"version": "1.0.0",
"description": "pingfront for React Native: a typed bridge over the native iOS and Android SDKs (in-app chat, pings, moments, offers).",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"pingfront-react-native-source": "./src/index.ts",
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./app.plugin.js": "./app.plugin.js",
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"android/build.gradle",
"android/src/main",
"ios",
"plugin/build",
"app.plugin.js",
"*.podspec",
"scripts/cocoapods.rb",
"!ios/build",
"!ios/generated",
"!**/__tests__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"typecheck": "tsc --noEmit && tsc --noEmit -p plugin",
"lint": "eslint --max-warnings 0 src plugin/src example scripts",
"test": "jest",
"build": "bob build && tsc -p plugin",
"prepare": "bob build && tsc -p plugin",
"android:sdk": "node scripts/publish-android-sdk.mjs",
"android:check": "node scripts/check-android.mjs"
},
"keywords": [
"react-native",
"expo",
"ios",
"android",
"support chat",
"in-app messaging"
],
"repository": {
"type": "git",
"url": "git+https://github.com/pingfront/pingfront-react-native.git"
},
"author": "pingfront (https://pingfront.sh)",
"license": "MIT",
"homepage": "https://pingfront.sh/docs/react-native",
"bugs": {
"url": "https://github.com/pingfront/pingfront-react-native/issues"
},
"dependencies": {
"@expo/config-plugins": "^58.0.11"
},
"devDependencies": {
"@eslint/compat": "^2.1.1",
"@eslint/eslintrc": "^3.3.7",
"@eslint/js": "^9.39.5",
"@react-native/babel-preset": "0.88.1",
"@react-native/codegen": "0.88.1",
"@react-native/eslint-config": "0.88.1",
"@react-native/jest-preset": "0.88.1",
"@testing-library/react-native": "^14.1.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.19.2",
"@types/react": "^19.2.0",
"eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-ft-flow": "^3.0.11",
"eslint-plugin-prettier": "^5.5.7",
"jest": "^30.5.2",
"prettier": "^3.9.10",
"react": "19.3.0",
"react-native": "0.88.1",
"react-native-builder-bob": "^0.44.1",
"test-renderer": "^1.0.0",
"typescript": "^6.0.3"
},
"peerDependencies": {
"expo": ">=54",
"react": ">=19",
"react-native": ">=0.80"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "PingfrontSpec",
"type": "all",
"jsSrcsDir": "src/specs",
"android": {
"javaPackageName": "dev.pingfront.reactnative"
},
"ios": {
"componentProvider": {
"PingfrontChatView": "PingfrontChatViewComponentView"
}
}
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
}