-
Notifications
You must be signed in to change notification settings - Fork 237
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.7 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.7 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
{
"name": "posthog-react-native",
"version": "4.14.4",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./metro": {
"types": "./dist/tooling/metroconfig.d.ts",
"default": "./dist/tooling/metroconfig.js"
},
"./expo": {
"types": "./dist/tooling/expoconfig.d.ts",
"default": "./dist/tooling/expoconfig.js"
}
},
"files": [
"dist/",
"tooling/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/PostHog/posthog-js.git",
"directory": "packages/react-native"
},
"scripts": {
"clean": "rimraf dist",
"lint": "eslint src test",
"lint:fix": "eslint src test --fix",
"test:unit": "jest -c jest.config.js",
"prepublishOnly": "pnpm lint && pnpm test:unit && pnpm build",
"prebuild": "node -p \"'export const version = ' + JSON.stringify(require('./package.json').version)\" > src/version.ts",
"build": "tsc -b && babel ./dist --out-dir dist --extensions '.js'",
"package": "pnpm pack --out $PACKAGE_DEST/%s.tgz",
"generate-references": "pnpm exec api-extractor run --config ./api-extractor.json --local && node scripts/generate-docs.js"
},
"dependencies": {
"@posthog/core": "workspace:*"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/plugin-transform-private-property-in-object": "^7.27.1",
"@posthog-tooling/rollup-utils": "workspace:*",
"@posthog-tooling/tsconfig-base": "workspace:*",
"@react-native-async-storage/async-storage": "^1.17.10",
"@react-native/babel-preset": "^0.80.1",
"@react-navigation/native": "^5.0.10",
"@types/react": "^17.0.87",
"@types/react-native": "^0.69.1",
"@types/jest": "catalog:",
"expo": "^48.0.0",
"expo-application": "^4.0.0",
"expo-device": "^4.0.0",
"expo-file-system": "^13.0.0",
"expo-localization": "^11.0.0",
"jest": "catalog:",
"jest-environment-node": "catalog:",
"jest-expo": "catalog:",
"metro": "0.83.1",
"@expo/metro-config": "~0.20.0",
"posthog-react-native-session-replay": "^1.2.0",
"react": "18.2.0",
"react-native": "^0.69.1",
"react-native-device-info": "^10.3.0",
"react-native-localize": "^3.0.0",
"react-native-navigation": "^6.0.0",
"react-native-safe-area-context": "^4.10.1",
"react-native-svg": "^15.0.0",
"ts-jest": "catalog:",
"typescript": "catalog:"
},
"peerDependencies": {
"@react-native-async-storage/async-storage": ">=1.0.0",
"@react-navigation/native": ">= 5.0.0",
"expo-application": ">= 4.0.0",
"expo-device": ">= 4.0.0",
"expo-file-system": ">= 13.0.0",
"expo-localization": ">= 11.0.0",
"posthog-react-native-session-replay": ">= 1.2.0",
"react-native-device-info": ">= 10.0.0",
"react-native-localize": ">= 3.0.0",
"react-native-navigation": ">= 6.0.0",
"react-native-safe-area-context": ">= 4.0.0",
"react-native-svg": ">= 15.0.0"
},
"peerDependenciesMeta": {
"@react-native-async-storage/async-storage": {
"optional": true
},
"@react-navigation/native": {
"optional": true
},
"expo-application": {
"optional": true
},
"expo-device": {
"optional": true
},
"expo-file-system": {
"optional": true
},
"expo-localization": {
"optional": true
},
"react-native-device-info": {
"optional": true
},
"react-native-navigation": {
"optional": true
},
"react-native-localize": {
"optional": true
},
"posthog-react-native-session-replay": {
"optional": true
},
"react-native-safe-area-context": {
"optional": true
}
}
}