Skip to content

Commit 5623ce8

Browse files
Added VSCode config files to source control
1 parent d8d35ce commit 5623ce8

File tree

3 files changed

+78
-1
lines changed

3 files changed

+78
-1
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nbproject
1313
# IDEs & Text Editors
1414
.idea
1515
.sublime-*
16-
.vscode
16+
.vscode/settings.json
1717
.netbeans
1818
nbproject
1919

Diff for: .vscode/launch.json

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run tests",
6+
"type": "node",
7+
"request": "launch",
8+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
9+
"stopOnEntry": false,
10+
"args": [
11+
"--timeout=600000"
12+
],
13+
"cwd": "${workspaceRoot}",
14+
"preLaunchTask": null,
15+
"runtimeExecutable": null,
16+
"runtimeArgs": [
17+
"--nolazy"
18+
],
19+
"env": {
20+
"NODE_ENV": "development"
21+
},
22+
"console": "internalConsole",
23+
"sourceMaps": false,
24+
"outFiles": []
25+
},
26+
{
27+
"name": "Attach",
28+
"type": "node",
29+
"request": "attach",
30+
"port": 5858,
31+
"address": "localhost",
32+
"restart": false,
33+
"sourceMaps": false,
34+
"outFiles": [],
35+
"localRoot": "${workspaceRoot}",
36+
"remoteRoot": null
37+
},
38+
{
39+
"name": "Attach to Process",
40+
"type": "node",
41+
"request": "attach",
42+
"processId": "${command.PickProcess}",
43+
"port": 5858,
44+
"sourceMaps": false,
45+
"outFiles": []
46+
}
47+
]
48+
}

Diff for: .vscode/tasks.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Available variables which can be used inside of strings.
2+
// ${workspaceRoot}: the root folder of the team
3+
// ${file}: the current opened file
4+
// ${fileBasename}: the current opened file's basename
5+
// ${fileDirname}: the current opened file's dirname
6+
// ${fileExtname}: the current opened file's extension
7+
// ${cwd}: the current working directory of the spawned process
8+
9+
{
10+
"version": "0.1.0",
11+
"command": "npm",
12+
"isShellCommand": true,
13+
"suppressTaskName": true,
14+
"tasks": [
15+
{
16+
"taskName": "lint",
17+
"args": ["run", "lint", "--silent"],
18+
"showOutput": "always",
19+
"problemMatcher": "$eslint-stylish",
20+
"isBuildCommand": true
21+
},
22+
{
23+
"taskName": "test",
24+
"args": ["run", "test", "--silent"],
25+
"showOutput": "always",
26+
"isTestCommand": true
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)