package.json 10 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.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. "@fullstory/babel-plugin-annotate-react": "^2.3.0",
  27. "@monaco-editor/react": "^4.4.5",
  28. "@popperjs/core": "^2.11.5",
  29. "@react-aria/button": "^3.9.1",
  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/menu": "^3.6.0",
  46. "@react-stately/numberfield": "^3.8.0",
  47. "@react-stately/radio": "^3.10.1",
  48. "@react-stately/slider": "^3.5.0",
  49. "@react-stately/tabs": "^3.6.3",
  50. "@react-stately/tree": "^3.7.5",
  51. "@react-types/shared": "^3.22.0",
  52. "@rsdoctor/webpack-plugin": "^0.1.0",
  53. "@sentry-internal/global-search": "^0.5.7",
  54. "@sentry-internal/react-inspector": "6.0.1-4",
  55. "@sentry-internal/rrweb": "2.9.0",
  56. "@sentry-internal/rrweb-player": "2.9.0",
  57. "@sentry-internal/rrweb-snapshot": "2.9.0",
  58. "@sentry/core": "^7.99.0",
  59. "@sentry/integrations": "^7.99.0",
  60. "@sentry/node": "^7.99.0",
  61. "@sentry/react": "^7.99.0",
  62. "@sentry/release-parser": "^1.3.1",
  63. "@sentry/types": "^7.99.0",
  64. "@sentry/utils": "^7.99.0",
  65. "@spotlightjs/spotlight": "^1.1.1",
  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/marked": "^0.7.2",
  77. "@types/mini-css-extract-plugin": "^2.5.1",
  78. "@types/papaparse": "^5.3.5",
  79. "@types/pegjs": "^0.10.3",
  80. "@types/prismjs": "^1.26.0",
  81. "@types/react": "~17.0.62",
  82. "@types/react-date-range": "^1.4.4",
  83. "@types/react-dom": "~17.0.20",
  84. "@types/react-grid-layout": "^1.3.2",
  85. "@types/react-mentions": "4.1.6",
  86. "@types/react-router": "^3.0.22",
  87. "@types/react-select": "4.0.18",
  88. "@types/react-sparklines": "^1.7.2",
  89. "@types/react-virtualized": "^9.21.22",
  90. "@types/reflux": "0.4.1",
  91. "@types/scroll-to-element": "^2.0.2",
  92. "@types/webpack-env": "^1.18.0",
  93. "ansi-to-react": "^6.1.6",
  94. "babel-loader": "^9.1.2",
  95. "babel-plugin-add-react-displayname": "^0.0.5",
  96. "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
  97. "browserslist": "^4.22.2",
  98. "buffer": "^6.0.3",
  99. "cbor-web": "^8.1.0",
  100. "classnames": "2.3.1",
  101. "color": "^4.2.3",
  102. "compression-webpack-plugin": "10.0.0",
  103. "copy-webpack-plugin": "^11.0.0",
  104. "core-js": "^3.33.0",
  105. "cronstrue": "^2.26.0",
  106. "crypto-browserify": "^3.12.0",
  107. "crypto-js": "4.2.0",
  108. "css-loader": "^5.2.6",
  109. "css-minimizer-webpack-plugin": "^4.2.2",
  110. "diff": "5.1.0",
  111. "dompurify": "^3.0.6",
  112. "downsample": "1.4.0",
  113. "echarts": "5.4.0",
  114. "echarts-for-react": "3.0.2",
  115. "esbuild": "^0.19.10",
  116. "focus-trap": "^7.3.1",
  117. "focus-visible": "^5.2.0",
  118. "fork-ts-checker-webpack-plugin": "^8.0.0",
  119. "framer-motion": "^6.2.8",
  120. "fuse.js": "^6.6.2",
  121. "gettext-parser": "1.3.1",
  122. "gl-matrix": "^3.4.3",
  123. "intersection-observer": "^0.12.2",
  124. "invariant": "^2.2.4",
  125. "ios-device-list": "1.1.37",
  126. "jed": "^1.1.0",
  127. "js-beautify": "^1.14.4",
  128. "js-cookie": "3.0.1",
  129. "less": "^4.1.3",
  130. "less-loader": "^11.1.0",
  131. "lightningcss": "^1.22.1",
  132. "lodash": "^4.17.19",
  133. "marked": "0.7.0",
  134. "mini-css-extract-plugin": "^2.7.2",
  135. "mobx": "^6.8.0",
  136. "mobx-react": "~7.6.0",
  137. "mockdate": "3.0.5",
  138. "moment": "2.29.4",
  139. "moment-timezone": "0.5.43",
  140. "papaparse": "^5.3.2",
  141. "pegjs": "^0.10.0",
  142. "pegjs-loader": "^0.5.6",
  143. "platformicons": "^5.10.0",
  144. "po-catalog-loader": "2.0.0",
  145. "prettier": "3.0.3",
  146. "prismjs": "^1.29.0",
  147. "process": "^0.11.10",
  148. "qrcode.react": "^3.1.0",
  149. "query-string": "7.0.1",
  150. "react": "17.0.2",
  151. "react-autosize-textarea": "7.1.0",
  152. "react-date-range": "^1.4.0",
  153. "react-dom": "17.0.2",
  154. "react-grid-layout": "^1.3.4",
  155. "react-lazyload": "^2.3.0",
  156. "react-mentions": "4.4.2",
  157. "react-popper": "^2.3.0",
  158. "react-router": "3.2.0",
  159. "react-select": "4.3.1",
  160. "react-select-event": "5.5.0",
  161. "react-sparklines": "1.7.0",
  162. "react-virtualized": "^9.22.5",
  163. "reflux": "0.4.1",
  164. "screenfull": "^6.0.2",
  165. "scroll-to-element": "^2.0.0",
  166. "sprintf-js": "1.0.3",
  167. "style-loader": "^3.3.1",
  168. "terser-webpack-plugin": "^5.3.9",
  169. "ts-node": "^10.9.1",
  170. "tslib": "^2.6.2",
  171. "typescript": "^5.3.2",
  172. "u2f-api": "1.0.10",
  173. "url-loader": "^4.1.0",
  174. "webpack": "5.87.0",
  175. "webpack-cli": "5.1.4",
  176. "webpack-hook-plugin": "^1.0.7",
  177. "webpack-remove-empty-scripts": "^1.0.3",
  178. "zxcvbn": "^4.4.2"
  179. },
  180. "devDependencies": {
  181. "@biomejs/biome": "^1.5.3",
  182. "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
  183. "@sentry/jest-environment": "^4.0.0",
  184. "@sentry/profiling-node": "^1.3.5",
  185. "@styled/typescript-styled-plugin": "^1.0.0",
  186. "@testing-library/jest-dom": "^5.16.5",
  187. "@testing-library/react": "^12.1.2",
  188. "@testing-library/react-hooks": "^8.0.1",
  189. "@testing-library/user-event": "^14.4.3",
  190. "@types/node": "^20.11.7",
  191. "babel-gettext-extractor": "^4.1.3",
  192. "babel-jest": "^29.6.2",
  193. "babel-plugin-dynamic-import-node": "^2.3.3",
  194. "benchmark": "^2.1.4",
  195. "eslint": "8.49.0",
  196. "eslint-config-sentry-app": "2.1.0",
  197. "html-webpack-plugin": "^5.5.0",
  198. "jest": "29.6.2",
  199. "jest-canvas-mock": "^2.5.2",
  200. "jest-environment-jsdom": "^29.6.2",
  201. "jest-fail-on-console": "^3.1.1",
  202. "jest-junit": "16.0.0",
  203. "jest-sentry-environment": "3.0.0",
  204. "postcss-styled-syntax": "0.4.0",
  205. "react-refresh": "0.14.0",
  206. "react-test-renderer": "17.0.2",
  207. "stylelint": "15.10.2",
  208. "stylelint-config-recommended": "^13.0.0",
  209. "terser": "5.16.9",
  210. "tocbot": "^4.20.0",
  211. "tsconfig-paths": "^4.2.0",
  212. "webpack-dev-server": "^4.15.1"
  213. },
  214. "optionalDependencies": {
  215. "fsevents": "^2.3.2"
  216. },
  217. "resolutions": {
  218. "**/ua-parser-js": "<=0.7.28"
  219. },
  220. "APIMethod": "stub",
  221. "proxyURL": "http://localhost:8000",
  222. "scripts": {
  223. "test-wrap": "node scripts/test.js",
  224. "test": "yarn test-wrap --watch",
  225. "test-ci": "yarn test-wrap --ci --coverage --maxWorkers=100% --colors",
  226. "test-debug": "node --inspect-brk scripts/test.js --runInBand",
  227. "test-precommit": "yarn test-wrap --bail --findRelatedTests -u",
  228. "test-staged": "yarn test-wrap --findRelatedTests $(git diff --name-only --cached)",
  229. "lint": "yarn lint:biome && yarn lint:prettier && yarn lint:js && yarn lint:css",
  230. "lint:js": "eslint static/app tests/js --ext .js,.jsx,.ts,.tsx",
  231. "lint:css": "stylelint 'static/app/**/*.[jt]sx'",
  232. "lint:biome": "biome check .",
  233. "lint:prettier": "prettier **/*.md **/*.yaml --check",
  234. "fix": "yarn fix:biome && yarn fix:prettier && yarn fix:eslint",
  235. "fix:eslint": "eslint static/app tests/js --ext .js,.jsx,.ts,.tsx --fix",
  236. "fix:biome": "biome check . --apply",
  237. "fix:prettier": "prettier **/*.md **/*.yaml --write",
  238. "dev": "(yarn check --verify-tree || yarn install --check-files) && sentry devserver",
  239. "dev-ui": "SENTRY_UI_DEV_ONLY=1 SENTRY_WEBPACK_PROXY_PORT=7999 yarn webpack serve",
  240. "dev-acceptance": "NO_DEV_SERVER=1 NODE_ENV=development yarn webpack --watch",
  241. "webpack-profile": "NO_TS_FORK=1 yarn -s webpack --profile --json > stats.json",
  242. "install-api-docs": "cd api-docs && yarn install",
  243. "build-deprecated-docs": "yarn install-api-docs && ts-node api-docs/index.ts api-docs/openapi.json tests/apidocs/openapi-deprecated.json",
  244. "diff-docs": "yarn install-api-docs && ts-node api-docs/openapi-diff.ts",
  245. "deref-api-docs": "ts-node api-docs/index.ts tests/apidocs/openapi-spectacular.json tests/apidocs/openapi-derefed.json",
  246. "build-chartcuterie-config": "NODE_ENV=production yarn webpack --config=config/webpack.chartcuterie.config.ts",
  247. "build-acceptance": "IS_ACCEPTANCE_TEST=1 NODE_ENV=production yarn webpack",
  248. "build-production": "NODE_ENV=production yarn webpack --mode production",
  249. "build": "NODE_OPTIONS=--max-old-space-size=4096 yarn webpack",
  250. "build-js-loader": "ts-node scripts/build-js-loader.ts",
  251. "validate-api-examples": "cd api-docs && yarn openapi-examples-validator ../tests/apidocs/openapi-derefed.json --no-additional-properties",
  252. "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"
  253. },
  254. "browserslist": {
  255. "production": [
  256. "last 10 Chrome versions",
  257. "last 10 Firefox versions",
  258. "last 2 Edge major versions",
  259. "last 2 Safari major versions",
  260. "last 3 iOS major versions",
  261. "Firefox ESR"
  262. ],
  263. "development": [
  264. "last 10 Chrome versions",
  265. "last 10 Firefox versions",
  266. "last 2 Edge major versions",
  267. "last 2 Safari major versions",
  268. "last 3 iOS major versions",
  269. "Firefox ESR"
  270. ],
  271. "test": [
  272. "current node"
  273. ]
  274. },
  275. "volta": {
  276. "extends": ".volta.json"
  277. },
  278. "fork-ts-checker": {
  279. "typescript": {
  280. "memoryLimit": 4096
  281. }
  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. }