fix sample (for #174)

This commit is contained in:
Benjamin Pasero
2019-04-18 10:05:52 +02:00
parent 75dd0c7679
commit da14adc183
3 changed files with 6 additions and 4 deletions

View File

@ -1,2 +1,3 @@
out
node_modules
node_modules
.vscode-test

View File

@ -1,6 +1,6 @@
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.1.0",
"version": "0.2.0",
"configurations": [
{
"name": "Launch Extension",
@ -11,7 +11,7 @@
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/src/**/*.js"],
"preLaunchTask": "tsc: watch - tsconfig.json"
"preLaunchTask": "npm: watch"
},
{
"name": "Launch Tests",
@ -22,7 +22,7 @@
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/test/**/*.js"],
"preLaunchTask": "tsc: watch - tsconfig.json"
"preLaunchTask": "npm: watch"
}
]
}

View File

@ -32,6 +32,7 @@
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},