Skip to content

Commit 3e4cbf9

Browse files
Merge pull request KelvinTegelaar#1664 from redanthrax/DevEnv
removed ssl, fixed ws hotreload, azurite location
2 parents 1e4eef2 + 54b0407 commit 3e4cbf9

File tree

7 files changed

+13
-76
lines changed

7 files changed

+13
-76
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ PORT=3000
22
CHOKIDAR_USEPOLLING=true
33
BROWSER=none
44
GENERATE_SOURCEMAP=false
5-
WDS_SOCKET_PORT=0
5+
WDS_SOCKET_PORT=3000

.vscode/cert.crt

Lines changed: 0 additions & 23 deletions
This file was deleted.

.vscode/key.key

Lines changed: 0 additions & 28 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,6 @@
2121
"type": "node-terminal",
2222
"preLaunchTask": "RunAllTasks",
2323
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
24-
},
25-
{
26-
"name": "Launch Edge",
27-
"request": "launch",
28-
"type": "pwa-msedge",
29-
"url": "https://localhost:4280",
30-
"webRoot": "${workspaceFolder}"
31-
},
32-
{
33-
"name": "Attach to Edge",
34-
"port": 9222,
35-
"request": "attach",
36-
"type": "pwa-msedge",
37-
"urlFilter": "https://localhost:4280/*",
38-
"webRoot": "${workspaceFolder}"
3924
}
4025
],
4126
"compounds": [

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"label": "RunAzurite",
1010
"type": "shell",
11-
"command": "azurite",
11+
"command": "azurite --location ../",
1212
"isBackground": true,
1313
"problemMatcher": {
1414
"pattern": [

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"changelog": "auto-changelog --starting-version 3.0.0 --commit-limit false --hide-credit",
1818
"eject": "react-scripts eject",
1919
"lint": "eslint \"src/**/*.js\"",
20-
"start": "set HTTPS=true&&set SSL_CRT_FILE=./.vscode/cert.crt&&set SSL_KEY_FILE=./.vscode/key.key&&react-scripts start",
20+
"start": "react-scripts start",
2121
"test": "react-scripts test",
2222
"test:cov": "npm test -- --coverage --watchAll=false",
2323
"test:debug": "react-scripts --inspect-brk test --runInBand",
24-
"start-swa": "swa start --ssl --ssl-cert ./.vscode/cert.crt --ssl-key ./.vscode/key.key --swa-config-location .vscode https://localhost:3000 --api-location http://localhost:7071",
24+
"start-swa": "swa start --swa-config-location .vscode http://127.0.0.1:3000 --api-location http://localhost:7071",
2525
"prepare": "husky install"
2626
},
2727
"config": {
@@ -92,7 +92,7 @@
9292
"prettier": "2.4.1",
9393
"react-scripts": "^5.0.0",
9494
"redux-immutable-state-invariant": "^2.1.0",
95-
"sass": "^1.44",
95+
"sass": "^1.64.2",
9696
"stylelint": "^14.3.0",
9797
"stylelint-config-sass-guidelines": "^9.0.1",
9898
"stylelint-order": "^5.0.0"

0 commit comments

Comments
 (0)