Skip to content

Commit

Permalink
removed ssl, fixed ws hotreload, azurite location
Browse files Browse the repository at this point in the history
  • Loading branch information
redanthrax committed Aug 1, 2023
1 parent 1e4eef2 commit 54b0407
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 76 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ PORT=3000
CHOKIDAR_USEPOLLING=true
BROWSER=none
GENERATE_SOURCEMAP=false
WDS_SOCKET_PORT=0
WDS_SOCKET_PORT=3000
23 changes: 0 additions & 23 deletions .vscode/cert.crt

This file was deleted.

28 changes: 0 additions & 28 deletions .vscode/key.key

This file was deleted.

15 changes: 0 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@
"type": "node-terminal",
"preLaunchTask": "RunAllTasks",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
},
{
"name": "Launch Edge",
"request": "launch",
"type": "pwa-msedge",
"url": "https://localhost:4280",
"webRoot": "${workspaceFolder}"
},
{
"name": "Attach to Edge",
"port": 9222,
"request": "attach",
"type": "pwa-msedge",
"urlFilter": "https://localhost:4280/*",
"webRoot": "${workspaceFolder}"
}
],
"compounds": [
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"label": "RunAzurite",
"type": "shell",
"command": "azurite",
"command": "azurite --location ../",
"isBackground": true,
"problemMatcher": {
"pattern": [
Expand Down
13 changes: 8 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"changelog": "auto-changelog --starting-version 3.0.0 --commit-limit false --hide-credit",
"eject": "react-scripts eject",
"lint": "eslint \"src/**/*.js\"",
"start": "set HTTPS=true&&set SSL_CRT_FILE=./.vscode/cert.crt&&set SSL_KEY_FILE=./.vscode/key.key&&react-scripts start",
"start": "react-scripts start",
"test": "react-scripts test",
"test:cov": "npm test -- --coverage --watchAll=false",
"test:debug": "react-scripts --inspect-brk test --runInBand",
"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",
"start-swa": "swa start --swa-config-location .vscode http://127.0.0.1:3000 --api-location http://localhost:7071",
"prepare": "husky install"
},
"config": {
Expand Down Expand Up @@ -92,7 +92,7 @@
"prettier": "2.4.1",
"react-scripts": "^5.0.0",
"redux-immutable-state-invariant": "^2.1.0",
"sass": "^1.44",
"sass": "^1.64.2",
"stylelint": "^14.3.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-order": "^5.0.0"
Expand Down

0 comments on commit 54b0407

Please sign in to comment.