package.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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.24.5",
  13. "@babel/plugin-transform-react-jsx": "^7.23.4",
  14. "@babel/plugin-transform-react-jsx-source": "^7.24.1",
  15. "@babel/plugin-transform-runtime": "~7.24.3",
  16. "@babel/preset-env": "~7.24.5",
  17. "@babel/preset-react": "^7.24.1",
  18. "@babel/preset-typescript": "^7.24.1",
  19. "@babel/runtime": "~7.24.5",
  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. "@monaco-editor/react": "^4.4.5",
  27. "@popperjs/core": "^2.11.5",
  28. "@react-aria/button": "^3.9.1",
  29. "@react-aria/combobox": "^3.8.4",
  30. "@react-aria/focus": "^3.16.0",
  31. "@react-aria/gridlist": "^3.7.3",
  32. "@react-aria/i18n": "^3.10.0",
  33. "@react-aria/interactions": "^3.20.1",
  34. "@react-aria/listbox": "^3.11.3",
  35. "@react-aria/menu": "^3.12.0",
  36. "@react-aria/numberfield": "^3.10.1",
  37. "@react-aria/overlays": "^3.20.0",
  38. "@react-aria/radio": "^3.10.0",
  39. "@react-aria/separator": "^3.3.9",
  40. "@react-aria/slider": "^3.7.4",
  41. "@react-aria/tabs": "^3.8.3",
  42. "@react-aria/utils": "^3.23.0",
  43. "@react-aria/visually-hidden": "^3.8.8",
  44. "@react-stately/collections": "^3.10.4",
  45. "@react-stately/combobox": "^3.8.2",
  46. "@react-stately/menu": "^3.6.0",
  47. "@react-stately/numberfield": "^3.8.0",
  48. "@react-stately/radio": "^3.10.1",
  49. "@react-stately/slider": "^3.5.0",
  50. "@react-stately/tabs": "^3.6.3",
  51. "@react-stately/tree": "^3.7.5",
  52. "@react-types/shared": "^3.22.0",
  53. "@rsdoctor/webpack-plugin": "^0.2.5",
  54. "@sentry-internal/global-search": "^1.0.0",
  55. "@sentry-internal/react-inspector": "6.0.1-4",
  56. "@sentry-internal/rrweb": "2.23.0",
  57. "@sentry-internal/rrweb-player": "2.23.0",
  58. "@sentry-internal/rrweb-snapshot": "2.23.0",
  59. "@sentry/babel-plugin-component-annotate": "^2.16.1",
  60. "@sentry/core": "^8.9.2",
  61. "@sentry/node": "^8.9.2",
  62. "@sentry/react": "^8.9.2",
  63. "@sentry/release-parser": "^1.3.1",
  64. "@sentry/status-page-list": "^0.2.0",
  65. "@sentry/types": "^8.9.2",
  66. "@sentry/utils": "^8.9.2",
  67. "@spotlightjs/spotlight": "^2.0.0-alpha.1",
  68. "@tanstack/react-query": "^4.29.7",
  69. "@tanstack/react-query-devtools": "^4.36.1",
  70. "@types/color": "^3.0.3",
  71. "@types/diff": "5.2.1",
  72. "@types/dompurify": "^3.0.5",
  73. "@types/invariant": "^2.2.35",
  74. "@types/jest": "29.5.12",
  75. "@types/js-beautify": "^1.14.3",
  76. "@types/js-cookie": "^3.0.2",
  77. "@types/lodash": "^4.14.182",
  78. "@types/mini-css-extract-plugin": "^2.5.1",
  79. "@types/papaparse": "^5.3.5",
  80. "@types/pegjs": "^0.10.3",
  81. "@types/prismjs": "^1.26.0",
  82. "@types/react": "18.2.55",
  83. "@types/react-date-range": "^1.4.4",
  84. "@types/react-dom": "18.2.19",
  85. "@types/react-grid-layout": "^1.3.2",
  86. "@types/react-lazyload": "3.2.3",
  87. "@types/react-mentions": "4.1.13",
  88. "@types/react-router": "^3.0.28",
  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.4",
  95. "ansi-to-react": "^6.1.6",
  96. "babel-loader": "^9.1.3",
  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.1",
  108. "css-minimizer-webpack-plugin": "^6.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.20.0",
  115. "focus-trap": "^7.3.1",
  116. "fork-ts-checker-webpack-plugin": "^9.0.2",
  117. "framer-motion": "^11.1.7",
  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. "js-beautify": "^1.15.1",
  126. "js-cookie": "3.0.1",
  127. "less": "^4.1.3",
  128. "less-loader": "^12.2.0",
  129. "lightningcss": "^1.23.0",
  130. "lodash": "^4.17.19",
  131. "marked": "6.0.0",
  132. "mini-css-extract-plugin": "^2.8.0",
  133. "mobx": "^6.8.0",
  134. "mobx-react": "~7.6.0",
  135. "mockdate": "3.0.5",
  136. "moment": "2.29.4",
  137. "moment-timezone": "0.5.43",
  138. "papaparse": "^5.3.2",
  139. "pegjs": "^0.10.0",
  140. "pegjs-loader": "^0.5.6",
  141. "platformicons": "^5.10.9",
  142. "po-catalog-loader": "2.0.0",
  143. "prettier": "3.2.5",
  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": "3.2.6",
  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.6.2",
  168. "typescript": "^5.4.5",
  169. "u2f-api": "1.0.10",
  170. "url-loader": "^4.1.1",
  171. "webpack": "5.91.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.8.0",
  178. "@codecov/webpack-plugin": "^0.0.1-beta.8",
  179. "@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
  180. "@sentry/jest-environment": "6.0.0",
  181. "@sentry/profiling-node": "^8.9.2",
  182. "@styled/typescript-styled-plugin": "^1.0.1",
  183. "@testing-library/dom": "10.1.0",
  184. "@testing-library/jest-dom": "6.4.5",
  185. "@testing-library/react": "16.0.0",
  186. "@testing-library/user-event": "14.5.2",
  187. "@types/node": "^20.11.7",
  188. "babel-gettext-extractor": "^4.1.3",
  189. "babel-jest": "29.7.0",
  190. "benchmark": "^2.1.4",
  191. "eslint": "8.57.0",
  192. "eslint-config-sentry-app": "2.7.0",
  193. "html-webpack-plugin": "^5.5.0",
  194. "jest": "29.7.0",
  195. "jest-canvas-mock": "^2.5.2",
  196. "jest-environment-jsdom": "29.7.0",
  197. "jest-fail-on-console": "3.3.0",
  198. "jest-junit": "16.0.0",
  199. "postcss-styled-syntax": "0.6.4",
  200. "react-refresh": "0.14.0",
  201. "stylelint": "16.2.1",
  202. "stylelint-config-recommended": "^14.0.0",
  203. "terser": "5.30.3",
  204. "tsconfig-paths": "^4.2.0",
  205. "webpack-dev-server": "5.0.4"
  206. },
  207. "resolutions": {
  208. "react-mentions/@babel/runtime": "*"
  209. },
  210. "optionalDependencies": {
  211. "fsevents": "^2.3.2"
  212. },
  213. "APIMethod": "stub",
  214. "proxyURL": "http://localhost:8000",
  215. "scripts": {
  216. "test": "node scripts/test.js --watch",
  217. "test-ci": "node scripts/test.js --ci --coverage --maxWorkers=100% --colors",
  218. "test-debug": "node --inspect-brk scripts/test.js --runInBand",
  219. "test-precommit": "node scripts/test.js --bail --findRelatedTests -u",
  220. "test-staged": "node scripts/test.js --findRelatedTests $(git diff --name-only --cached)",
  221. "lint": "yarn lint:biome && yarn lint:prettier && yarn lint:js && yarn lint:css",
  222. "lint:js": "eslint . --ext .js,.ts,.tsx",
  223. "lint:css": "stylelint '**/*.[jt]sx'",
  224. "lint:biome": "biome check .",
  225. "lint:prettier": "prettier \"**/*.md\" \"**/*.yaml\" \"**/*.[jt]s(x)?\" --check --log-level=error",
  226. "fix": "yarn fix:biome && yarn fix:prettier && yarn fix:eslint",
  227. "fix:eslint": "eslint . --ext .js,.ts,.tsx --fix",
  228. "fix:biome": "biome check . --write",
  229. "fix:prettier": "prettier \"**/*.md\" \"**/*.yaml\" \"**/*.[jt]s(x)?\" --write --log-level=error",
  230. "dev": "(yarn check --verify-tree || yarn install --check-files) && sentry devserver",
  231. "dev-ui": "SENTRY_UI_DEV_ONLY=1 SENTRY_WEBPACK_PROXY_PORT=7999 webpack serve",
  232. "dev-acceptance": "NO_DEV_SERVER=1 NODE_ENV=development webpack --watch",
  233. "webpack-profile": "NO_TS_FORK=1 webpack --profile --json > stats.json",
  234. "install-api-docs": "yarn install --cwd ./api-docs",
  235. "build-deprecated-docs": "yarn install-api-docs && ts-node api-docs/index.ts api-docs/openapi.json tests/apidocs/openapi-deprecated.json",
  236. "diff-docs": "yarn install-api-docs && ts-node api-docs/openapi-diff.ts",
  237. "deref-api-docs": "ts-node api-docs/index.ts tests/apidocs/openapi-spectacular.json tests/apidocs/openapi-derefed.json",
  238. "build-chartcuterie-config": "NODE_ENV=production webpack --config=config/webpack.chartcuterie.config.ts",
  239. "build-acceptance": "IS_ACCEPTANCE_TEST=1 NODE_ENV=production webpack",
  240. "build-production": "NODE_ENV=production webpack --mode production",
  241. "build": "NODE_OPTIONS=--max-old-space-size=4096 webpack",
  242. "build-js-loader": "ts-node scripts/build-js-loader.ts",
  243. "validate-api-examples": "yarn --cwd api-docs openapi-examples-validator ../tests/apidocs/openapi-derefed.json --no-additional-properties",
  244. "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",
  245. "extract-ios-device-names": "ts-node scripts/extract-ios-device-names.ts"
  246. },
  247. "browserslist": {
  248. "production": [
  249. "last 10 Chrome versions",
  250. "last 10 Firefox versions",
  251. "last 2 Edge major versions",
  252. "last 2 Safari major versions",
  253. "last 3 iOS major versions",
  254. "Firefox ESR"
  255. ],
  256. "development": [
  257. "last 10 Chrome versions",
  258. "last 10 Firefox versions",
  259. "last 2 Edge major versions",
  260. "last 2 Safari major versions",
  261. "last 3 iOS major versions",
  262. "Firefox ESR"
  263. ],
  264. "test": ["current node"]
  265. },
  266. "volta": {
  267. "extends": ".volta.json"
  268. },
  269. "prettier": {
  270. "bracketSpacing": false,
  271. "bracketSameLine": false,
  272. "printWidth": 90,
  273. "semi": true,
  274. "singleQuote": true,
  275. "tabWidth": 2,
  276. "trailingComma": "es5",
  277. "useTabs": false,
  278. "arrowParens": "avoid"
  279. }
  280. }