Skip to content

Commit 6446b0d

Browse files
authored
Merge pull request #10 from devklick/dev
Dev
2 parents b04e59b + 8a3a018 commit 6446b0d

File tree

3 files changed

+48
-28
lines changed

3 files changed

+48
-28
lines changed

package-lock.json

Lines changed: 38 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
"homepage": "./",
99
"license": "MIT",
1010
"dependencies": {
11-
"@testing-library/jest-dom": "^5.15.1",
12-
"@testing-library/react": "^11.2.7",
13-
"@testing-library/user-event": "^12.8.3",
14-
"@types/jest": "^26.0.24",
1511
"@types/node": "^12.20.37",
1612
"@types/react": "^17.0.37",
1713
"@types/react-dom": "^17.0.11",
@@ -20,9 +16,7 @@
2016
"react": "^17.0.2",
2117
"react-dom": "^17.0.2",
2218
"react-scripts": "^5.0.1",
23-
"sass": "^1.44.0",
24-
"typescript": "^4.5.2",
25-
"web-vitals": "^1.1.2"
19+
"sass": "^1.44.0"
2620
},
2721
"scripts": {
2822
"start": "react-scripts start",
@@ -60,7 +54,12 @@
6054
"electron-devtools-installer": "^3.2.0",
6155
"electronmon": "^2.0.2",
6256
"semantic-release": "^21.0.5",
63-
"wait-on": "^6.0.0"
57+
"wait-on": "^6.0.0",
58+
"@testing-library/jest-dom": "^5.15.1",
59+
"@testing-library/react": "^11.2.7",
60+
"@testing-library/user-event": "^12.8.3",
61+
"@types/jest": "^26.0.24",
62+
"typescript": "^4.5.2"
6463
},
6564
"build": {
6665
"appId": "com.devklick.BasicBlackjack",

public/electron.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ function createWindow() {
5353
);
5454

5555
// Open the DevTools.
56-
win.webContents.openDevTools({ mode: "detach" });
57-
// if (isDev) {
58-
// win.webContents.openDevTools({ mode: "detach" });
59-
// }
56+
if (isDev) {
57+
win.webContents.openDevTools({ mode: "detach" });
58+
}
6059
}
6160

6261
// This method will be called when Electron has finished

0 commit comments

Comments
 (0)