Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.17 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.17 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
{
"name": "@sentry/react",
"version": "11.21.0",
"description": "Official Sentry SDK for React.js",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/react",
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
},
"files": [
"/build"
],
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"types": "build/types/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"react-native": {
"types": "./build/types/index.d.ts",
"default": "./build/esm/index.js"
},
"import": {
"types": "./build/types/index.d.ts",
"default": "./build/esm/index.js"
},
"require": {
"types": "./build/types/index.d.ts",
"default": "./build/cjs/index.js"
}
},
"./react-router": {
"react-native": {
"types": "./build/types/react-router.d.ts",
"default": "./build/esm/react-router.js"
},
"import": {
"types": "./build/types/react-router.d.ts",
"default": "./build/esm/react-router.js"
},
"require": {
"types": "./build/types/react-router.d.ts",
"default": "./build/cjs/react-router.js"
}
}
},
"typesVersions": {
"*": {
"react-router": [
"build/types/react-router.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@sentry/browser": "11.21.0",
"@sentry/core": "11.21.0",
"@sentry/conventions": "^0.37.0"
},
"peerDependencies": {
"react": "17.x || 18.x || 19.x",
"react-router": "6.x || 7.x || 8.x"
},
"peerDependenciesMeta": {
"react-router": {
"optional": true
}
},
"devDependencies": {
"@sentry-internal/rollup-utils": "11.21.0",
"@testing-library/react": "^15.0.5",
"@testing-library/react-hooks": "^7.0.2",
"@types/history-4": "npm:@types/history@4.7.8",
"@types/react": "17.0.3",
"@types/react-router-4": "npm:@types/react-router@4.0.25",
"@types/react-router-5": "npm:@types/react-router@5.1.20",
"history-4": "npm:history@4.6.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^7.18.4",
"react-router-3": "npm:react-router@3.2.0",
"react-router-4": "npm:react-router@4.1.0",
"react-router-5": "npm:react-router@5.3.4",
"react-router-6": "npm:react-router@6.30.4",
"redux": "^5.0.1"
},
"scripts": {
"build": "pnpm run \"/^build:(transpile|types)$/\"",
"build:dev": "pnpm run build",
"build:transpile": "rolldown -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
"build:tarball": "pnpm pack",
"clean": "node ../../scripts/rm.mjs build coverage sentry-react-*.tgz",
"lint:fix": "oxlint . --fix --type-aware",
"lint": "oxlint . --type-aware",
"lint:types": "oxlint src --type-aware --type-check",
"lint:es-compatibility": "node ../../scripts/es-check.mjs es2020",
"test": "vitest run",
"test:watch": "vitest --watch",
"yalc:publish": "pnpm dlx yalc publish --push --sig"
},
"sideEffects": false
}