Skip to content

Commit

Permalink
vscode stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Apr 18, 2022
1 parent 40170c9 commit 4da0749
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
// 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": "node",
"request": "launch",
"name": "Launch tests",
"skipFiles": ["<node_internals>/**"],
"runtimeExecutable": "yarn",
"runtimeArgs": ["test:debug"],
"outputCapture": "std",
"preLaunchTask": "${defaultBuildTask}",
"outFiles": ["${workspaceFolder}/dist/*.js"]
}
]
}
17 changes: 16 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,20 @@
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"cSpell.words": ["lcov", "sonarjs"]
"cSpell.words": ["lcov", "sonarjs"],
"explorerExclude.backup": null,
"npm.packageManager": "yarn",
"debug.javascript.autoAttachFilter": "smart",
"debug.javascript.breakOnConditionalError": true,
"debug.javascript.defaultRuntimeExecutable": {
"node": "yarn",
"pwa-node": "yarn"
},
"debug.javascript.autoAttachSmartPattern": [
"${workspaceFolder}/**",
"!**/node_modules/**",
"**/$KNOWN_TOOLS$/**",
"!**/yarn-*",
"!**/ava-*/**/cli.mjs"
]
}
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"label": "npm: build",
"detail": "yarn build"
}
]
}

0 comments on commit 4da0749

Please sign in to comment.