Files
firezone/rust/gui-client/package.json
Thomas Eizinger 3ad7848e8f feat(gui-client): add Sentry to the frontend (#9316)
With an increased amount of complexity in the frontend of the GUI
client, it pays off to initialise the Sentry React SDK to catch any
errors that might occur. In particular, any failing commands that we
issue to the backend will be caught that way as those rejected
`Promise`s will surface as uncaught exceptions.

Similar to the backend, Sentry in the frontend is only initialised for
known environments, i.e. our production and staging deployments of
Firezone. For on-premise installations, Sentry is disabled.

Related: #6138
2025-06-02 05:59:26 +00:00

43 lines
1.1 KiB
JSON

{
"name": "firezone-gui-client",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"build": "run-script-os",
"build:win32": "call build.bat",
"build:darwin:linux": "./build.sh",
"build-debug": "run-script-os",
"build-debug:win32": "call build-debug.bat",
"dev": "run-script-os",
"dev:win32": "call dev.bat",
"dev:darwin:linux": "./dev.sh",
"tauri": "tauri",
"postinstall": "flowbite-react patch"
},
"dependencies": {
"@heroicons/react": "^2.2.0",
"@sentry/core": "^9.24.0",
"@sentry/react": "^9.24.0",
"@tailwindcss/cli": "^4.1.7",
"@tailwindcss/vite": "^4.1.7",
"@tauri-apps/api": "^2.5.0",
"@tauri-apps/cli": "^2.5.0",
"@types/node": "^22.15.29",
"@types/react": "^19.1.5",
"@types/react-dom": "^19.1.5",
"@vitejs/plugin-react": "^4.5.0",
"flowbite": "^3.1.2",
"flowbite-react": "^0.11.7",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router": "^7.6.1",
"run-script-os": "^1.1.6",
"tailwindcss": "^4.1.7",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vite": "^6.3.4",
"vite-plugin-typescript": "^1.0.4"
}
}