Skip to content

Commit

Permalink
meta: Remove electron dependency and fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-auer committed Mar 6, 2018
1 parent 518e33b commit ab93e9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
7 changes: 2 additions & 5 deletions package.json
Expand Up @@ -3,7 +3,7 @@
"description": "Offical Sentry SDK for Electron",
"version": "0.4.0-beta.4",
"main": "./dist/index.js",
"repository": "https://github.com/timfish/electron-sentry.git",
"repository": "https://github.com/getsentry/sentry-electron.git",
"author": "Tim Fish",
"license": "MIT",
"types": "./dist/index.d.ts",
Expand All @@ -27,7 +27,6 @@
"@sentry/browser": "0.4.0-beta.4",
"@sentry/core": "0.4.0-beta.4",
"@sentry/node": "0.4.0-beta.4",
"body-parser": "^1.18.2",
"form-data": "^2.3.2",
"node-fetch": "^2.1.1",
"util.promisify": "^1.0.0"
Expand All @@ -42,6 +41,7 @@
"@types/multiparty": "^0.0.31",
"@types/node-fetch": "^1.6.7",
"@types/webdriverio": "^4.10.0",
"body-parser": "^1.18.2",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"cross-env": "^5.1.3",
Expand All @@ -67,8 +67,5 @@
"typescript": "^2.7.2",
"vrsource-tslint-rules": "^5.8.1",
"xvfb-maybe": "^0.2.1"
},
"peerDependencies": {
"electron": "^1.6.0"
}
}
1 change: 1 addition & 0 deletions src/lib/electron.ts
Expand Up @@ -20,6 +20,7 @@ import {
powerMonitor,
remote,
screen,
// tslint:disable-next-line:no-implicit-dependencies
} from 'electron';

import { normalizeEvent, normalizeUrl } from './normalize';
Expand Down
1 change: 1 addition & 0 deletions src/lib/utils.ts
@@ -1,3 +1,4 @@
// tslint:disable-next-line:no-implicit-dependencies
import { app, remote } from 'electron';

/** Returns whether the SDK is running in the main process. */
Expand Down

0 comments on commit ab93e9c

Please sign in to comment.