diff options
author | Alex <i@neonxp.dev> | 2023-03-08 19:27:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 19:27:35 +0300 |
commit | df52915806db050a8e0cfab2d686acfdbf5e0c5c (patch) | |
tree | 237533159fe116e01dd0712084d9473db1148edd /.vscode |
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/extensions.json | 8 | ||||
-rw-r--r-- | .vscode/launch.json | 29 | ||||
-rw-r--r-- | .vscode/settings.json | 10 | ||||
-rw-r--r-- | .vscode/tasks.json | 36 |
4 files changed, 83 insertions, 0 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..6de784d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "eg2.vscode-npm-script", + "christian-kohler.npm-intellisense", + "ms-edgedevtools.vscode-edge-devtools", + "PWABuilder.pwa-studio" + ] +}
\ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d16bf5c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "pwa-msedge", + "request": "launch", + "name": "Run PWA", + "webRoot": "${workspaceFolder}/", + "runtimeArgs": [ + "--app=http://localhost:3000" + ], + "sourceMapPathOverrides": { + "../../src": "${workspaceFolder}/src", + "../../src/*": "${workspaceFolder}/src/*" + }, + "preLaunchTask": "npm run dev-task", + "postDebugTask": "postdebugKill" + }, + { + "name": "Launch Microsoft Edge and open the Edge DevTools", + "request": "launch", + "type": "vscode-edge-devtools.debug", + "url": "" // Provide your project's url to finish configuring + } + ] +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5113558 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "prettier.configPath": ".prettierrc.js", + "files.trimTrailingWhitespace": true, + "markdownlint.config": { + "MD028": false, + "MD025": { + "front_matter_title": "" + } + }, +}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..33372fc --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,36 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "npm run dev-task", + "type": "npm", + "script": "dev-task", + "isBackground": true, + "problemMatcher": { + "owner": "custom", + "pattern": { + "regexp": "^$" + }, + "background": { + "activeOnStart": true, + "beginsPattern": ".*", + "endsPattern": "ready in .+" + } + }, + }, + { + "label": "postdebugKill", + "command": "echo ${input:terminate}", + "type": "shell", + "problemMatcher": [] + }, + ], + "inputs": [ + { + "id": "terminate", + "type": "command", + "command": "workbench.action.tasks.terminate", + "args": "npm run dev-task" + } + ] +}
\ No newline at end of file |