Add sentry and queries.

This commit is contained in:
Patrick Fic
2023-08-18 14:54:19 -07:00
parent ed006c0626
commit ca248f3890
15 changed files with 163 additions and 5 deletions

View File

@@ -3,11 +3,12 @@
"productName": "ImEX RPS",
"author": "ImEX Systems Inc. <support@thinkimex.com>",
"description": "ImEX RPS",
"version": "1.1.4",
"version": "1.1.5",
"main": "electron/main.js",
"homepage": "./",
"dependencies": {
"@apollo/client": "^3.6.9",
"@sentry/electron": "^4.10.0",
"antd": "^4.23.1",
"apollo-link-logger": "^2.0.0",
"chokidar": "^3.5.3",
@@ -43,7 +44,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "react-scripts build && yarn run sentry:sourcemaps",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "concurrently -k \"npm start\" \"npm:electron\"",
@@ -52,7 +53,8 @@
"dist": "npm run build && electron-builder",
"distp": "npm run build && electron-builder --publish always",
"distpnb": "lectron-builder --publish always",
"postinstall": "electron-builder install-app-deps"
"postinstall": "electron-builder install-app-deps",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org imex --project rps ./build && sentry-cli sourcemaps upload --org imex --project rps ./build"
},
"eslintConfig": {
"extends": "react-app"
@@ -118,4 +120,4 @@
]
}
}
}
}