Skip to content

Commit 5941b8c

Browse files
committed
Use electron instead of electron-prebuilt.
Switch out karma-electron-launcher for karma-electron, which seems to be more up to date and is just a drop in replacement.
1 parent e762b36 commit 5941b8c

File tree

2 files changed

+140
-112
lines changed

2 files changed

+140
-112
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"homepage": "https://github.com/keokilee/react-electron-webview#readme",
2828
"peerDependencies": {
29-
"electron-prebuilt": "^1.0.0",
29+
"electron": "^1.0.0",
3030
"react": "^0.14.0 || ^15.0.0",
3131
"react-dom": "^0.14.0|| ^15.0.0"
3232
},
@@ -38,14 +38,15 @@
3838
"@types/react": "^0.14.47",
3939
"babel": "^6.3.26",
4040
"babel-cli": "^6.3.17",
41+
"babel-core": "^6.18.2",
4142
"babel-loader": "^6.2.0",
4243
"babel-preset-es2015": "^6.3.13",
4344
"babel-preset-react": "^6.3.13",
4445
"babel-register": "^6.3.13",
45-
"electron-prebuilt": "^1.4.6",
46+
"electron": "^1.4.7",
4647
"expect": "^1.13.4",
4748
"karma": "^1.3.0",
48-
"karma-electron-launcher": "^0.1.0",
49+
"karma-electron": "^5.1.1",
4950
"karma-mocha": "^1.3.0",
5051
"karma-sourcemap-loader": "^0.3.6",
5152
"karma-spec-reporter": "0.0.26",

0 commit comments

Comments
 (0)