package.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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.23.2",
  13. "@babel/plugin-transform-react-jsx": "^7.22.15",
  14. "@babel/plugin-transform-react-jsx-source": "^7.22.5",
  15. "@babel/plugin-transform-runtime": "~7.23.2",
  16. "@babel/preset-env": "~7.23.2",
  17. "@babel/preset-react": "^7.22.15",
  18. "@babel/preset-typescript": "^7.23.2",
  19. "@babel/runtime": "~7.23.2",
  20. "@dnd-kit/core": "^3.1.1",
  21. "@dnd-kit/sortable": "^4.0.0",
  22. "@emotion/babel-plugin": "^11.10.5",
  23. "@emotion/css": "^11.10.5",
  24. "@emotion/react": "^11.10.5",
  25. "@emotion/styled": "^11.10.5",
  26. "@monaco-editor/react": "^4.4.5",
  27. "@popperjs/core": "^2.11.5",
  28. "@react-aria/button": "^3.9.1",
  29. "@react-aria/focus": "^3.16.0",
  30. "@react-aria/gridlist": "^3.7.3",
  31. "@react-aria/i18n": "^3.10.0",
  32. "@react-aria/interactions": "^3.20.1",
  33. "@react-aria/listbox": "^3.11.3",
  34. "@react-aria/menu": "^3.12.0",
  35. "@react-aria/numberfield": "^3.10.1",
  36. "@react-aria/overlays": "^3.20.0",
  37. "@react-aria/radio": "^3.10.0",
  38. "@react-aria/separator": "^3.3.9",
  39. "@react-aria/slider": "^3.7.4",
  40. "@react-aria/tabs": "^3.8.3",
  41. "@react-aria/utils": "^3.23.0",
  42. "@react-aria/visually-hidden": "^3.8.8",
  43. "@react-stately/collections": "^3.10.4",
  44. "@react-stately/menu": "^3.6.0",
  45. "@react-stately/numberfield": "^3.8.0",
  46. "@react-stately/radio": "^3.10.1",
  47. "@react-stately/slider": "^3.5.0",
  48. "@react-stately/tabs": "^3.6.3",
  49. "@react-stately/tree": "^3.7.5",
  50. "@react-types/shared": "^3.22.0",
  51. "@rsdoctor/webpack-plugin": "^0.1.0",
  52. "@sentry-internal/global-search": "^0.5.7",
  53. "@sentry-internal/react-inspector": "6.0.1-4",
  54. "@sentry-internal/rrweb": "2.9.0",
  55. "@sentry-internal/rrweb-player": "2.9.0",
  56. "@sentry-internal/rrweb-snapshot": "2.9.0",
  57. "@sentry/babel-plugin-component-annotate": "^2.14.0",
  58. "@sentry/core": "^7.102.0",
  59. "@sentry/integrations": "^7.102.0",
  60. "@sentry/node": "^7.102.0",
  61. "@sentry/react": "^7.102.0",
  62. "@sentry/release-parser": "^1.3.1",
  63. "@sentry/types": "^7.102.0",
  64. "@sentry/utils": "^7.102.0",
  65. "@spotlightjs/spotlight": "^1.2.13",
  66. "@tanstack/react-query": "^4.29.7",
  67. "@types/color": "^3.0.3",
  68. "@types/crypto-js": "^4.1.1",
  69. "@types/diff": "5.0.2",
  70. "@types/dompurify": "^3.0.5",
  71. "@types/invariant": "^2.2.35",
  72. "@types/jest": "^29.5.3",
  73. "@types/js-beautify": "^1.13.3",
  74. "@types/js-cookie": "^3.0.2",
  75. "@types/lodash": "^4.14.182",
  76. "@types/mini-css-extract-plugin": "^2.5.1",
  77. "@types/papaparse": "^5.3.5",
  78. "@types/pegjs": "^0.10.3",
  79. "@types/prismjs": "^1.26.0",
  80. "@types/react": "~17.0.62",
  81. "@types/react-date-range": "^1.4.4",
  82. "@types/react-dom": "~17.0.20",
  83. "@types/react-grid-layout": "^1.3.2",
  84. "@types/react-mentions": "4.1.6",
  85. "@types/react-router": "^3.0.22",
  86. "@types/react-select": "4.0.18",
  87. "@types/react-sparklines": "^1.7.2",
  88. "@types/react-virtualized": "^9.21.22",
  89. "@types/reflux": "0.4.1",
  90. "@types/scroll-to-element": "^2.0.2",
  91. "@types/webpack-env": "^1.18.0",
  92. "ansi-to-react": "^6.1.6",
  93. "babel-loader": "^9.1.2",
  94. "babel-plugin-add-react-displayname": "^0.0.5",
  95. "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
  96. "browserslist": "^4.22.2",
  97. "buffer": "^6.0.3",
  98. "cbor-web": "^8.1.0",
  99. "classnames": "2.3.1",
  100. "color": "^4.2.3",
  101. "compression-webpack-plugin": "11.0.0",
  102. "copy-webpack-plugin": "^12.0.2",
  103. "core-js": "^3.33.0",
  104. "cronstrue": "^2.26.0",
  105. "crypto-browserify": "^3.12.0",
  106. "crypto-js": "4.2.0",
  107. "css-loader": "^6.10.0",
  108. "css-minimizer-webpack-plugin": "^6.0.0",
  109. "diff": "5.1.0",
  110. "dompurify": "^3.0.6",
  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": "^6.5.1",
  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.14.4",
  126. "js-cookie": "3.0.1",
  127. "less": "^4.1.3",
  128. "less-loader": "^11.1.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.2",
  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": "17.0.2",
  149. "react-autosize-textarea": "7.1.0",
  150. "react-date-range": "^1.4.0",
  151. "react-dom": "17.0.2",
  152. "react-grid-layout": "^1.3.4",
  153. "react-lazyload": "^2.3.0",
  154. "react-mentions": "4.4.2",
  155. "react-popper": "^2.3.0",
  156. "react-router": "3.2.0",
  157. "react-select": "4.3.1",
  158. "react-select-event": "5.5.0",
  159. "react-sparklines": "1.7.0",
  160. "react-virtualized": "^9.22.5",
  161. "reflux": "0.4.1",
  162. "screenfull": "^6.0.2",
  163. "scroll-to-element": "^2.0.0",
  164. "sprintf-js": "1.0.3",
  165. "style-loader": "^3.3.4",
  166. "terser-webpack-plugin": "^5.3.10",
  167. "ts-node": "^10.9.2",
  168. "tslib": "^2.6.2",
  169. "typescript": "^5.3.3",
  170. "u2f-api": "1.0.10",
  171. "url-loader": "^4.1.1",
  172. "webpack": "5.90.1",
  173. "webpack-cli": "5.1.4",
  174. "webpack-remove-empty-scripts": "^1.0.4",
  175. "zxcvbn": "^4.4.2"
  176. },
  177. "devDependencies": {
  178. "@biomejs/biome": "^1.5.3",
  179. "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
  180. "@sentry/jest-environment": "^4.0.0",
  181. "@sentry/profiling-node": "^1.3.5",
  182. "@styled/typescript-styled-plugin": "^1.0.1",
  183. "@testing-library/jest-dom": "^5.16.5",
  184. "@testing-library/react": "^12.1.2",
  185. "@testing-library/react-hooks": "^8.0.1",
  186. "@testing-library/user-event": "^14.4.3",
  187. "@types/node": "^20.11.7",
  188. "babel-gettext-extractor": "^4.1.3",
  189. "babel-jest": "^29.6.2",
  190. "babel-plugin-dynamic-import-node": "^2.3.3",
  191. "benchmark": "^2.1.4",
  192. "eslint": "8.56.0",
  193. "eslint-config-sentry-app": "2.5.0",
  194. "html-webpack-plugin": "^5.5.0",
  195. "jest": "29.6.2",
  196. "jest-canvas-mock": "^2.5.2",
  197. "jest-environment-jsdom": "^29.6.2",
  198. "jest-fail-on-console": "^3.1.1",
  199. "jest-junit": "16.0.0",
  200. "jest-sentry-environment": "3.0.0",
  201. "postcss-styled-syntax": "0.6.4",
  202. "react-refresh": "0.14.0",
  203. "react-test-renderer": "17.0.2",
  204. "stylelint": "16.2.1",
  205. "stylelint-config-recommended": "^14.0.0",
  206. "terser": "5.27.0",
  207. "tocbot": "^4.20.0",
  208. "tsconfig-paths": "^4.2.0",
  209. "webpack-dev-server": "^4.15.1"
  210. },
  211. "optionalDependencies": {
  212. "fsevents": "^2.3.2"
  213. },
  214. "resolutions": {
  215. "**/ua-parser-js": "<=0.7.28"
  216. },
  217. "APIMethod": "stub",
  218. "proxyURL": "http://localhost:8000",
  219. "scripts": {
  220. "test-wrap": "node scripts/test.js",
  221. "test": "yarn test-wrap --watch",
  222. "test-ci": "yarn test-wrap --ci --coverage --maxWorkers=100% --colors",
  223. "test-debug": "node --inspect-brk scripts/test.js --runInBand",
  224. "test-precommit": "yarn test-wrap --bail --findRelatedTests -u",
  225. "test-staged": "yarn test-wrap --findRelatedTests $(git diff --name-only --cached)",
  226. "lint": "yarn lint:biome && yarn lint:prettier && yarn lint:js && yarn lint:css",
  227. "lint:js": "eslint static/app tests/js --ext .js,.jsx,.ts,.tsx",
  228. "lint:css": "stylelint 'static/app/**/*.[jt]sx'",
  229. "lint:biome": "biome check .",
  230. "lint:prettier": "prettier **/*.md **/*.yaml **/*.{ts,tsx} --check",
  231. "fix": "yarn fix:biome && yarn fix:prettier && yarn fix:eslint",
  232. "fix:eslint": "eslint static/app tests/js --ext .js,.jsx,.ts,.tsx --fix",
  233. "fix:biome": "biome check . --apply",
  234. "fix:prettier": "prettier **/*.md **/*.yaml **/*.{ts,tsx} --write",
  235. "dev": "(yarn check --verify-tree || yarn install --check-files) && sentry devserver",
  236. "dev-ui": "SENTRY_UI_DEV_ONLY=1 SENTRY_WEBPACK_PROXY_PORT=7999 yarn webpack serve",
  237. "dev-acceptance": "NO_DEV_SERVER=1 NODE_ENV=development yarn webpack --watch",
  238. "webpack-profile": "NO_TS_FORK=1 yarn -s webpack --profile --json > stats.json",
  239. "install-api-docs": "cd api-docs && yarn install",
  240. "build-deprecated-docs": "yarn install-api-docs && ts-node api-docs/index.ts api-docs/openapi.json tests/apidocs/openapi-deprecated.json",
  241. "diff-docs": "yarn install-api-docs && ts-node api-docs/openapi-diff.ts",
  242. "deref-api-docs": "ts-node api-docs/index.ts tests/apidocs/openapi-spectacular.json tests/apidocs/openapi-derefed.json",
  243. "build-chartcuterie-config": "NODE_ENV=production yarn webpack --config=config/webpack.chartcuterie.config.ts",
  244. "build-acceptance": "IS_ACCEPTANCE_TEST=1 NODE_ENV=production yarn webpack",
  245. "build-production": "NODE_ENV=production yarn webpack --mode production",
  246. "build": "NODE_OPTIONS=--max-old-space-size=4096 yarn webpack",
  247. "build-js-loader": "ts-node scripts/build-js-loader.ts",
  248. "validate-api-examples": "cd api-docs && yarn openapi-examples-validator ../tests/apidocs/openapi-derefed.json --no-additional-properties",
  249. "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",
  250. "extract-ios-device-names": "ts-node scripts/extract-ios-device-names.ts"
  251. },
  252. "browserslist": {
  253. "production": [
  254. "last 10 Chrome versions",
  255. "last 10 Firefox versions",
  256. "last 2 Edge major versions",
  257. "last 2 Safari major versions",
  258. "last 3 iOS major versions",
  259. "Firefox ESR"
  260. ],
  261. "development": [
  262. "last 10 Chrome versions",
  263. "last 10 Firefox versions",
  264. "last 2 Edge major versions",
  265. "last 2 Safari major versions",
  266. "last 3 iOS major versions",
  267. "Firefox ESR"
  268. ],
  269. "test": [
  270. "current node"
  271. ]
  272. },
  273. "volta": {
  274. "extends": ".volta.json"
  275. },
  276. "fork-ts-checker": {
  277. "typescript": {
  278. "memoryLimit": 4096
  279. }
  280. },
  281. "prettier": {
  282. "bracketSpacing": false,
  283. "bracketSameLine": false,
  284. "printWidth": 90,
  285. "semi": true,
  286. "singleQuote": true,
  287. "tabWidth": 2,
  288. "trailingComma": "es5",
  289. "useTabs": false,
  290. "arrowParens": "avoid"
  291. }
  292. }