forked from getsentry/sentry-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 4.52 KB
/
Copy pathpackage.json
File metadata and controls
139 lines (139 loc) · 4.52 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
135
136
137
138
139
{
"name": "@sentry/react-native",
"homepage": "https://github.com/getsentry/sentry-react-native",
"repository": "https://github.com/getsentry/sentry-react-native",
"version": "5.22.0",
"description": "Official Sentry SDK for react-native",
"typings": "dist/js/index.d.ts",
"types": "dist/js/index.d.ts",
"typesVersions": {
"<4.9": {
"*": [
"ts3.8/*"
]
}
},
"typescript": {
"definition": "dist/js/index.d.ts"
},
"main": "dist/js/index.js",
"scripts": {
"build": "yarn build:sdk && yarn downlevel && yarn build:tools && yarn build:plugin",
"build:sdk": "tsc -p tsconfig.build.json",
"build:sdk:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"build:tools": "tsc -p tsconfig.build.tools.json",
"build:tools:watch": "tsc -p tsconfig.build.tools.json -w --preserveWatchOutput",
"build:plugin": "EXPO_NONINTERACTIVE=true expo-module build plugin",
"downlevel": "downlevel-dts dist ts3.8/dist --to=3.8",
"clean": "rimraf dist coverage && yarn clean:plugin",
"clean:plugin": "expo-module clean plugin",
"circularDepCheck": "madge --circular dist/js/index.js && madge --circular metro.js && madge --circular expo.js",
"test": "yarn test:sdk && yarn test:tools",
"test:sdk": "jest",
"test:tools": "jest --config jest.config.tools.js",
"fix": "yarn fix:eslint && yarn fix:prettier",
"fix:eslint": "eslint --config .eslintrc.js --fix .",
"fix:prettier": "prettier --write \"{src,test,scripts,plugin/src}/**/**.ts\"",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint --config .eslintrc.js .",
"lint:prettier": "prettier --check \"{src,test,scripts,plugin/src}/**/**.ts\"",
"test:watch": "jest --watch",
"run-ios": "cd samples/react-native && yarn react-native run-ios",
"run-android": "cd samples/react-native && yarn react-native run-android",
"yalc:add:sentry-javascript": "yalc add @sentry/browser @sentry/core @sentry/hub @sentry/integrations @sentry/react @sentry/types @sentry/utils"
},
"bin": {
"sentry-expo-upload-sourcemaps": "scripts/expo-upload-sourcemaps.js"
},
"keywords": [
"react-native",
"sentry",
"crashreporting",
"ios"
],
"publishConfig": {
"access": "public"
},
"author": "Sentry",
"license": "MIT",
"//": [
"React version to be compatible with RN",
"When bumping make sure to update the version of react, i.e: https://github.com/facebook/react-native/blob/v0.56.0/package.json"
],
"peerDependencies": {
"expo": ">=49.0.0",
"react": ">=17.0.0",
"react-native": ">=0.65.0"
},
"dependencies": {
"@sentry/browser": "7.110.1",
"@sentry/cli": "2.30.4",
"@sentry/core": "7.110.1",
"@sentry/hub": "7.110.1",
"@sentry/integrations": "7.110.1",
"@sentry/react": "7.110.1",
"@sentry/types": "7.110.1",
"@sentry/utils": "7.110.1"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@expo/metro-config": "0.17.5",
"@mswjs/interceptors": "^0.25.15",
"@sentry-internal/eslint-config-sdk": "7.110.1",
"@sentry-internal/eslint-plugin-sdk": "7.110.1",
"@sentry-internal/typescript": "7.110.1",
"@sentry/wizard": "3.16.3",
"@types/jest": "^29.5.3",
"@types/node": "^20.9.3",
"@types/react": "^18.2.64",
"@types/uglify-js": "^3.17.2",
"@types/uuid": "^9.0.4",
"@types/xmlhttprequest": "^1.8.2",
"babel-jest": "^29.6.2",
"babel-plugin-module-resolver": "^5.0.0",
"babel-preset-fbjs": "^3.4.0",
"downlevel-dts": "^0.11.0",
"eslint": "^7.6.0",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-native": "^3.8.1",
"expo": "^50.0.8",
"expo-module-scripts": "3.1.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jest-extended": "^4.0.2",
"madge": "^6.1.0",
"metro": "0.76",
"prettier": "^2.0.5",
"react": "18.2.0",
"react-native": "0.73.2",
"react-test-renderer": "^18.2.0",
"replace-in-file": "^7.0.1",
"rimraf": "^4.1.1",
"ts-jest": "^29.1.1",
"typescript": "4.9.5",
"uglify-js": "^3.17.4",
"uuid": "^9.0.1",
"xmlhttprequest": "^1.8.0"
},
"rnpm": {
"commands": {},
"android": {
"packageInstance": "new RNSentryPackage()",
"packageImportPath": "import io.sentry.react.RNSentryPackage;"
},
"ios": {}
},
"codegenConfig": {
"name": "RNSentrySpec",
"type": "modules",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "io.sentry.react"
}
},
"peerDependenciesMeta": {
"expo": {
"optional": true
}
}
}