-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.33 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 4.33 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
{
"name": "@sentry/nextjs",
"version": "10.46.0",
"description": "Official Sentry SDK for Next.js",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/nextjs",
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=18"
},
"main": "build/cjs/index.server.js",
"module": "build/esm/index.server.js",
"types": "build/types/index.types.d.ts",
"files": [
"/build"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./build/types/index.types.d.ts",
"edge": {
"import": "./build/esm/edge/index.js",
"require": "./build/cjs/edge/index.js",
"default": "./build/esm/edge/index.js"
},
"edge-light": {
"import": "./build/esm/edge/index.js",
"require": "./build/cjs/edge/index.js",
"default": "./build/esm/edge/index.js"
},
"worker": {
"import": "./build/esm/edge/index.js",
"require": "./build/cjs/edge/index.js",
"default": "./build/esm/edge/index.js"
},
"workerd": {
"import": "./build/esm/edge/index.js",
"require": "./build/cjs/edge/index.js",
"default": "./build/esm/edge/index.js"
},
"browser": {
"import": "./build/esm/index.client.js",
"require": "./build/cjs/index.client.js"
},
"node": "./build/cjs/index.server.js",
"import": "./build/esm/index.server.js"
},
"./async-storage-shim": {
"import": {
"default": "./build/esm/config/templates/requestAsyncStorageShim.js"
},
"require": {
"default": "./build/cjs/config/templates/requestAsyncStorageShim.js"
}
},
"./import": {
"import": {
"default": "./build/import-hook.mjs"
}
},
"./loader": {
"import": {
"default": "./build/loader-hook.mjs"
}
}
},
"typesVersions": {
"<5.0": {
"build/npm/types/index.d.ts": [
"build/npm/types-ts3.8/index.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/semantic-conventions": "^1.40.0",
"@rollup/plugin-commonjs": "28.0.1",
"@sentry-internal/browser-utils": "10.46.0",
"@sentry/bundler-plugin-core": "^5.1.0",
"@sentry/core": "10.46.0",
"@sentry/node": "10.46.0",
"@sentry/opentelemetry": "10.46.0",
"@sentry/react": "10.46.0",
"@sentry/vercel-edge": "10.46.0",
"@sentry/webpack-plugin": "^5.1.0",
"rollup": "^4.35.0",
"stacktrace-parser": "^0.1.11"
},
"devDependencies": {
"eslint-plugin-react": "^7.31.11",
"next": "14.2.35",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"peerDependencies": {
"next": "^13.2.0 || ^14.0 || ^15.0.0-rc.0 || ^16.0.0-0"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build:dev": "yarn build",
"build:transpile": "ts-node scripts/buildRollup.ts",
"build:types": "run-s build:types:core build:types:downlevel",
"build:types:core": "tsc -p tsconfig.types.json",
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
"build:watch": "run-p build:transpile:watch",
"build:dev:watch": "yarn build:watch",
"build:transpile:watch": "nodemon --ext ts --watch src scripts/buildRollup.ts",
"build:tarball": "npm pack",
"circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/edge/index.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts",
"clean": "rimraf build coverage sentry-nextjs-*.tgz",
"lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware",
"lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware",
"lint:es-compatibility": "es-check es2020 ./build/cjs/*.js && es-check es2020 ./build/esm/*.js --module",
"test": "yarn test:unit",
"test:all": "run-s test:unit",
"test:unit": "vitest run",
"test:watch": "vitest --watch",
"vercel:branch": "source vercel/set-up-branch-for-test-app-use.sh",
"vercel:project": "source vercel/make-project-use-current-branch.sh",
"yalc:publish": "yalc publish --push --sig"
},
"volta": {
"extends": "../../package.json"
},
"sideEffects": false
}