Skip to content

Commit

Permalink
add raven
Browse files Browse the repository at this point in the history
  • Loading branch information
morajabi committed Jan 3, 2019
1 parent d12a798 commit 2804bd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
2 changes: 1 addition & 1 deletion main/utils/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports.devtools = {
exports.setupSentry = app => {
const user_id = (getUser() || {}).id

Raven.config(process.env.PRIVATE_SENTRY_DSN, {
Raven.config('https://[email protected]/287684', {
captureUnhandledRejections: true,
tags: Object.assign(
{
Expand Down
22 changes: 5 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
"name": "There",
"email": "[email protected]"
},
"contributors": [
"Mohammad Rajabifard <[email protected]>"
],
"contributors": ["Mohammad Rajabifard <[email protected]>"],
"devDependencies": {
"@zeit/next-css": "0.1.4",
"babel-eslint": "8.2.1",
Expand Down Expand Up @@ -70,7 +68,7 @@
"dotenv": "4.0.0",
"electron-debug": "1.5.0",
"electron-default-menu": "1.0.1",
"electron-devtools-installer": "2.2.3",
"electron-devtools-installer": "2.2.4",
"electron-is-dev": "0.3.0",
"electron-log": "2.2.14",
"electron-next": "3.1.4",
Expand All @@ -92,11 +90,7 @@
"semver": "5.5.0"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
"*.js": ["eslint --fix", "prettier --write", "git add"]
},
"prettier": {
"semi": false,
Expand All @@ -109,9 +103,7 @@
"mac": {
"category": "public.app-category.productivity",
"icon": "main/static/icons/mac.icns",
"target": [
"zip"
],
"target": ["zip"],
"extendInfo": {
"LSUIElement": 1,
"NSUserNotificationAlertStyle": "alert"
Expand All @@ -121,11 +113,7 @@
"target": "appx",
"icon": "main/static/icons/windows.ico"
},
"files": [
"**/*",
"!renderer",
"renderer/out"
],
"files": ["**/*", "!renderer", "renderer/out"],
"appx": {
"displayName": "There PM",
"identityName": "11339MoRajabifard.TherePM",
Expand Down

0 comments on commit 2804bd8

Please sign in to comment.