Skip to content

Commit 348687c

Browse files
Added VSCode config files to source control
1 parent ee4498e commit 348687c

File tree

3 files changed

+77
-1
lines changed

3 files changed

+77
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
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

.vscode/launch.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Mocha tests",
6+
"type": "node",
7+
"request": "launch",
8+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
9+
"stopOnEntry": false,
10+
"args": ["--timeout=600000"],
11+
"cwd": "${workspaceRoot}",
12+
"preLaunchTask": null,
13+
"runtimeExecutable": null,
14+
"runtimeArgs": [
15+
"--nolazy"
16+
],
17+
"env": {
18+
"NODE_ENV": "development"
19+
},
20+
"console": "internalConsole",
21+
"sourceMaps": false
22+
},
23+
{
24+
"name": "Run TypeScript tests",
25+
"type": "node",
26+
"request": "launch",
27+
"program": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js",
28+
"stopOnEntry": false,
29+
"args": [
30+
"run",
31+
"test:typescript"
32+
],
33+
"cwd": "${workspaceRoot}",
34+
"preLaunchTask": null,
35+
"runtimeExecutable": null,
36+
"runtimeArgs": [
37+
"--nolazy"
38+
],
39+
"env": {
40+
"NODE_ENV": "development"
41+
},
42+
"console": "internalConsole",
43+
"outputCapture": "std",
44+
"sourceMaps": false
45+
}
46+
]
47+
}

.vscode/tasks.json

Lines changed: 29 additions & 0 deletions
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"],
18+
"showOutput": "always",
19+
"problemMatcher": "$eslint-stylish",
20+
"isBuildCommand": true
21+
},
22+
{
23+
"taskName": "test",
24+
"args": ["run", "mocha"],
25+
"showOutput": "always",
26+
"isTestCommand": true
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)