forked from getsentry/sentry-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.09 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@sentry/react-native",
"homepage": "https://github.com/getsentry/sentry-react-native",
"repository": "https://github.com/getsentry/sentry-react-native",
"version": "4.2.4",
"description": "Official Sentry SDK for react-native",
"typings": "dist/js/index.d.ts",
"types": "dist/js/index.d.ts",
"typescript": {
"definition": "dist/js/index.d.ts"
},
"main": "dist/js/index.js",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"clean": "rimraf dist coverage",
"test": "jest",
"lint": "eslint .",
"test:watch": "jest --watch",
"run-ios": "cd sample && yarn react-native run-ios",
"run-android": "cd sample && yarn react-native run-android"
},
"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": {
"react": ">=16.4.1",
"react-native": ">=0.56.0"
},
"dependencies": {
"@sentry/browser": "7.9.0",
"@sentry/cli": "1.74.4",
"@sentry/core": "7.9.0",
"@sentry/hub": "7.9.0",
"@sentry/integrations": "7.9.0",
"@sentry/react": "7.9.0",
"@sentry/tracing": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"@sentry/wizard": "1.2.17"
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "7.9.0",
"@sentry-internal/eslint-plugin-sdk": "7.9.0",
"@sentry/typescript": "^5.20.1",
"@types/jest": "^26.0.15",
"@types/react": "^16.9.49",
"@types/react-native": "^0.66.11",
"babel-jest": "^26.1.0",
"eslint": "^7.6.0",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-native": "^3.8.1",
"jest": "^24.9.0",
"prettier": "^2.0.5",
"react": ">=16.4.1",
"react-native": ">=0.56.0",
"replace-in-file": "^6.0.0",
"rimraf": "^3.0.0",
"ts-jest": "^24.3.0",
"typescript": "3.8.3"
},
"rnpm": {
"commands": {
"postlink": "node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android",
"postunlink": "node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android --uninstall"
},
"android": {
"packageInstance": "new RNSentryPackage()"
},
"ios": {
"sharedLibraries": [
"libz"
]
}
},
"jest": {
"collectCoverage": true,
"preset": "react-native",
"transform": {
"^.+\\.(tsx)$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"__DEV__": true,
"ts-jest": {
"tsConfig": "./tsconfig.json",
"diagnostics": false
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testPathIgnorePatterns": [
"<rootDir>/sample/"
],
"testEnvironment": "node",
"testMatch": [
"**/*.test.(ts|tsx)"
]
}
}