package.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "name": "sentry",
  4. "version": "0.0.0",
  5. "private": true,
  6. "repository": {
  7. "type": "git",
  8. "url": "git://github.com/getsentry/sentry.git"
  9. },
  10. "dependencies": {
  11. "@acemarke/react-prod-sourcemaps": "^0.2.1",
  12. "@babel/core": "~7.25.9",
  13. "@babel/plugin-transform-react-jsx": "^7.25.9",
  14. "@babel/plugin-transform-react-jsx-source": "^7.25.9",
  15. "@babel/plugin-transform-runtime": "~7.25.9",
  16. "@babel/preset-env": "~7.25.9",
  17. "@babel/preset-react": "^7.25.9",
  18. "@babel/preset-typescript": "^7.25.9",
  19. "@babel/runtime": "~7.25.9",
  20. "@dnd-kit/core": "^6.1.0",
  21. "@dnd-kit/sortable": "^8.0.0",
  22. "@emotion/babel-plugin": "^11.11.0",
  23. "@emotion/css": "^11.11.2",
  24. "@emotion/react": "^11.11.3",
  25. "@emotion/styled": "^11.11.0",
  26. "@popperjs/core": "^2.11.5",
  27. "@react-aria/button": "^3.9.8",
  28. "@react-aria/combobox": "^3.10.3",
  29. "@react-aria/dnd": "^3.7.2",
  30. "@react-aria/focus": "^3.18.2",
  31. "@react-aria/gridlist": "^3.9.3",
  32. "@react-aria/i18n": "^3.12.2",
  33. "@react-aria/interactions": "^3.22.2",
  34. "@react-aria/listbox": "^3.13.3",
  35. "@react-aria/menu": "^3.15.3",
  36. "@react-aria/numberfield": "^3.11.6",
  37. "@react-aria/overlays": "^3.23.2",
  38. "@react-aria/radio": "^3.10.7",
  39. "@react-aria/separator": "^3.4.2",
  40. "@react-aria/slider": "^3.7.11",
  41. "@react-aria/tabs": "^3.9.5",
  42. "@react-aria/utils": "^3.25.2",
  43. "@react-aria/visually-hidden": "^3.8.15",
  44. "@react-stately/collections": "^3.10.9",
  45. "@react-stately/combobox": "^3.9.2",
  46. "@react-stately/dnd": "^3.4.2",
  47. "@react-stately/menu": "^3.8.2",
  48. "@react-stately/numberfield": "^3.9.6",
  49. "@react-stately/radio": "^3.10.7",
  50. "@react-stately/slider": "^3.5.7",
  51. "@react-stately/tabs": "^3.6.9",
  52. "@react-stately/tree": "^3.8.4",
  53. "@react-types/shared": "^3.24.1",
  54. "@rsdoctor/webpack-plugin": "0.4.7",
  55. "@sentry-internal/global-search": "^1.0.0",
  56. "@sentry-internal/rrweb": "2.26.0",
  57. "@sentry-internal/rrweb-player": "2.26.0",
  58. "@sentry-internal/rrweb-snapshot": "2.26.0",
  59. "@sentry/core": "8.39.0-beta.0",
  60. "@sentry/node": "8.39.0-beta.0",
  61. "@sentry/react": "8.39.0-beta.0",
  62. "@sentry/release-parser": "^1.3.1",
  63. "@sentry/status-page-list": "^0.3.0",
  64. "@sentry/types": "8.39.0-beta.0",
  65. "@sentry/utils": "8.39.0-beta.0",
  66. "@sentry/webpack-plugin": "^2.22.4",
  67. "@spotlightjs/spotlight": "^2.0.0-alpha.1",
  68. "@tanstack/react-query": "^5.56.2",
  69. "@tanstack/react-query-devtools": "^5.56.2",
  70. "@tanstack/react-virtual": "^3.5.1",
  71. "@types/color": "^3.0.3",
  72. "@types/diff": "5.2.1",
  73. "@types/dompurify": "^3.0.5",
  74. "@types/history": "^3.2.5",
  75. "@types/invariant": "^2.2.35",
  76. "@types/jest": "29.5.12",
  77. "@types/js-beautify": "^1.14.3",
  78. "@types/js-cookie": "^3.0.2",
  79. "@types/lodash": "^4.14.182",
  80. "@types/mini-css-extract-plugin": "^2.5.1",
  81. "@types/papaparse": "^5.3.5",
  82. "@types/prismjs": "^1.26.0",
  83. "@types/react": "18.2.55",
  84. "@types/react-date-range": "^1.4.4",
  85. "@types/react-dom": "18.2.19",
  86. "@types/react-grid-layout": "^1.3.2",
  87. "@types/react-lazyload": "3.2.3",
  88. "@types/react-mentions": "4.1.13",
  89. "@types/react-select": "4.0.18",
  90. "@types/react-sparklines": "^1.7.2",
  91. "@types/react-virtualized": "^9.21.22",
  92. "@types/reflux": "0.4.1",
  93. "@types/scroll-to-element": "^2.0.2",
  94. "@types/webpack-env": "^1.18.5",
  95. "ansi-to-react": "^6.1.6",
  96. "babel-loader": "^9.2.1",
  97. "babel-plugin-add-react-displayname": "^0.0.5",
  98. "browserslist": "^4.22.2",
  99. "buffer": "^6.0.3",
  100. "cbor-web": "^8.1.0",
  101. "classnames": "2.3.1",
  102. "color": "^4.2.3",
  103. "compression-webpack-plugin": "11.1.0",
  104. "copy-webpack-plugin": "^12.0.2",
  105. "core-js": "^3.37.0",
  106. "cronstrue": "^2.50.0",
  107. "css-loader": "^7.1.2",
  108. "css-minimizer-webpack-plugin": "^7.0.0",
  109. "diff": "5.2.0",
  110. "dompurify": "^3.1.5",
  111. "downsample": "1.4.0",
  112. "echarts": "5.4.0",
  113. "echarts-for-react": "3.0.2",
  114. "esbuild": "^0.23.0",
  115. "focus-trap": "^7.3.1",
  116. "fork-ts-checker-webpack-plugin": "^9.0.2",
  117. "framer-motion": "^11.3.21",
  118. "fuse.js": "^6.6.2",
  119. "gettext-parser": "1.3.1",
  120. "gl-matrix": "^3.4.3",
  121. "intersection-observer": "^0.12.2",
  122. "invariant": "^2.2.4",
  123. "ios-device-list": "1.1.37",
  124. "jed": "^1.1.0",
  125. "jest-fetch-mock": "^3.0.3",
  126. "js-beautify": "^1.15.1",
  127. "js-cookie": "3.0.1",
  128. "jsonrepair": "^3.8.0",
  129. "less": "^4.1.3",
  130. "less-loader": "^12.2.0",
  131. "lightningcss": "^1.26.0",
  132. "lodash": "^4.17.19",
  133. "marked": "6.0.0",
  134. "mini-css-extract-plugin": "^2.8.0",
  135. "mobx": "^6.8.0",
  136. "mobx-react": "~7.6.0",
  137. "mockdate": "3.0.5",
  138. "moment-timezone": "0.5.44",
  139. "papaparse": "^5.3.2",
  140. "peggy": "^4.1.1",
  141. "platformicons": "^7.0.1",
  142. "po-catalog-loader": "2.1.0",
  143. "prettier": "3.3.2",
  144. "prismjs": "^1.29.0",
  145. "process": "^0.11.10",
  146. "qrcode.react": "^3.1.0",
  147. "query-string": "7.0.1",
  148. "react": "18.2.0",
  149. "react-autosize-textarea": "7.1.0",
  150. "react-date-range": "^1.4.0",
  151. "react-dom": "18.2.0",
  152. "react-grid-layout": "^1.3.4",
  153. "react-lazyload": "^3.2.1",
  154. "react-mentions": "4.4.10",
  155. "react-popper": "^2.3.0",
  156. "react-router-dom": "^6.26.2",
  157. "react-select": "4.3.1",
  158. "react-sparklines": "1.7.0",
  159. "react-virtualized": "^9.22.5",
  160. "reflux": "0.4.1",
  161. "screenfull": "^6.0.2",
  162. "scroll-to-element": "^2.0.0",
  163. "sprintf-js": "1.0.3",
  164. "style-loader": "^3.3.4",
  165. "terser-webpack-plugin": "^5.3.10",
  166. "ts-node": "^10.9.2",
  167. "tslib": "^2.7.0",
  168. "typescript": "^5.6.3",
  169. "u2f-api": "1.0.10",
  170. "url-loader": "^4.1.1",
  171. "webpack": "5.94.0",
  172. "webpack-cli": "5.1.4",
  173. "webpack-remove-empty-scripts": "^1.0.4",
  174. "zxcvbn": "^4.4.2"
  175. },
  176. "devDependencies": {
  177. "@biomejs/biome": "^1.9.1",
  178. "@codecov/webpack-plugin": "^1.2.0",
  179. "@emotion/eslint-plugin": "^11.12.0",
  180. "@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
  181. "@sentry/jest-environment": "6.0.0",
  182. "@sentry/profiling-node": "8.39.0-beta.0",
  183. "@styled/typescript-styled-plugin": "^1.0.1",
  184. "@testing-library/dom": "10.4.0",
  185. "@testing-library/jest-dom": "6.6.3",
  186. "@testing-library/react": "16.0.0",
  187. "@testing-library/user-event": "14.5.2",
  188. "@types/node": "^22.9.1",
  189. "@typescript-eslint/eslint-plugin": "^8.8.1",
  190. "@typescript-eslint/parser": "^8.8.1",
  191. "babel-gettext-extractor": "^4.1.3",
  192. "babel-jest": "29.7.0",
  193. "benchmark": "^2.1.4",
  194. "eslint": "8.57.1",
  195. "eslint-import-resolver-typescript": "^3.6.3",
  196. "eslint-plugin-import": "^2.31.0",
  197. "eslint-plugin-jest": "^28.8.3",
  198. "eslint-plugin-jest-dom": "^5.4.0",
  199. "eslint-plugin-no-lookahead-lookbehind-regexp": "0.1.0",
  200. "eslint-plugin-react": "^7.37.1",
  201. "eslint-plugin-react-hooks": "^4.6.2",
  202. "eslint-plugin-sentry": "^2.10.0",
  203. "eslint-plugin-simple-import-sort": "^12.1.1",
  204. "eslint-plugin-testing-library": "^6.3.0",
  205. "eslint-plugin-typescript-sort-keys": "^3.3.0",
  206. "html-webpack-plugin": "^5.6.0",
  207. "jest": "29.7.0",
  208. "jest-canvas-mock": "^2.5.2",
  209. "jest-environment-jsdom": "29.7.0",
  210. "jest-fail-on-console": "3.3.0",
  211. "jest-junit": "16.0.0",
  212. "postcss-styled-syntax": "0.7.0",
  213. "react-refresh": "0.14.0",
  214. "stylelint": "16.10.0",
  215. "stylelint-config-recommended": "^14.0.1",
  216. "terser": "5.31.6",
  217. "tsconfig-paths": "^4.2.0",
  218. "webpack-dev-server": "5.1.0"
  219. },
  220. "resolutions": {
  221. "react-mentions/@babel/runtime": "*"
  222. },
  223. "optionalDependencies": {
  224. "fsevents": "^2.3.2"
  225. },
  226. "APIMethod": "stub",
  227. "proxyURL": "http://localhost:8000",
  228. "scripts": {
  229. "test": "node scripts/test.js --watch",
  230. "test-ci": "node scripts/test.js --ci --coverage --maxWorkers=100% --colors",
  231. "test-debug": "node --inspect-brk scripts/test.js --runInBand",
  232. "test-precommit": "node scripts/test.js --bail --findRelatedTests -u",
  233. "test-staged": "node scripts/test.js --findRelatedTests $(git diff --name-only --cached)",
  234. "lint": "yarn lint:biome && yarn lint:prettier && yarn lint:js && yarn lint:css",
  235. "lint:js": "eslint . --ext .js,.ts,.tsx",
  236. "lint:css": "stylelint '**/*.[jt]sx'",
  237. "lint:biome": "biome check .",
  238. "lint:prettier": "prettier \"**/*.md\" \"**/*.yaml\" \"**/*.[jt]s(x)?\" --check --log-level=error",
  239. "fix": "yarn fix:biome && yarn fix:prettier && yarn fix:eslint",
  240. "fix:eslint": "eslint . --ext .js,.ts,.tsx --fix",
  241. "fix:biome": "biome check . --write",
  242. "fix:prettier": "prettier \"**/*.md\" \"**/*.yaml\" \"**/*.[jt]s(x)?\" --write --log-level=error",
  243. "dev": "(yarn check --verify-tree || yarn install --check-files) && sentry devserver",
  244. "dev-ui": "SENTRY_UI_DEV_ONLY=1 SENTRY_WEBPACK_PROXY_PORT=7999 webpack serve",
  245. "dev-acceptance": "NO_DEV_SERVER=1 NODE_ENV=development webpack --watch",
  246. "webpack-profile": "NO_TS_FORK=1 webpack --profile --json > stats.json",
  247. "install-api-docs": "yarn install --cwd ./api-docs",
  248. "build-deprecated-docs": "yarn install-api-docs && ts-node api-docs/index.ts api-docs/openapi.json tests/apidocs/openapi-deprecated.json",
  249. "diff-docs": "yarn install-api-docs && ts-node api-docs/openapi-diff.ts",
  250. "deref-api-docs": "ts-node api-docs/index.ts tests/apidocs/openapi-spectacular.json tests/apidocs/openapi-derefed.json",
  251. "build-chartcuterie-config": "NODE_ENV=production webpack --config=config/webpack.chartcuterie.config.ts",
  252. "build-acceptance": "IS_ACCEPTANCE_TEST=1 NODE_ENV=production webpack",
  253. "build-production": "NODE_ENV=production webpack --mode production",
  254. "build": "NODE_OPTIONS=--max-old-space-size=4096 webpack",
  255. "build-js-loader": "ts-node scripts/build-js-loader.ts",
  256. "validate-api-examples": "yarn --cwd api-docs openapi-examples-validator ../tests/apidocs/openapi-derefed.json --no-additional-properties",
  257. "mkcert-localhost": "mkcert -key-file config/localhost-key.pem -cert-file config/localhost.pem localhost 127.0.0.1 dev.getsentry.net *.dev.getsentry.net && mkcert -install",
  258. "https-proxy": "caddy run --config - <<< '{\"apps\":{\"http\":{\"servers\":{\"srv0\":{\"listen\":[\":8003\"],\"routes\":[{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"localhost:8000\"}]}]}],\"tls_connection_policies\":[{\"certificate_selection\":{\"any_tag\":[\"cert0\"]}}]}}},\"tls\":{\"certificates\":{\"load_files\":[{\"certificate\":\"./config/localhost.pem\",\"key\":\"./config/localhost-key.pem\",\"tags\":[\"cert0\"]}]}}}}'",
  259. "extract-ios-device-names": "ts-node scripts/extract-ios-device-names.ts"
  260. },
  261. "browserslist": {
  262. "production": [
  263. "last 10 Chrome versions",
  264. "last 10 Firefox versions",
  265. "last 4 Safari major versions",
  266. "last 3 iOS major versions",
  267. "Firefox ESR"
  268. ],
  269. "development": [
  270. "last 10 Chrome versions",
  271. "last 10 Firefox versions",
  272. "last 4 Safari major versions",
  273. "last 3 iOS major versions",
  274. "Firefox ESR"
  275. ],
  276. "test": [
  277. "current node"
  278. ]
  279. },
  280. "volta": {
  281. "extends": ".volta.json"
  282. },
  283. "prettier": {
  284. "bracketSpacing": false,
  285. "bracketSameLine": false,
  286. "printWidth": 90,
  287. "semi": true,
  288. "singleQuote": true,
  289. "tabWidth": 2,
  290. "trailingComma": "es5",
  291. "useTabs": false,
  292. "arrowParens": "avoid"
  293. }
  294. }