Fix package.json warning (#1613)

Change launch tasks to be more appropriately named. Fix warning in package.json. Clean up gulp file

* Change launch tasks to be more appropriately named. Fix warning in package.json. Clean up gulp file
This commit is contained in:
Jason Poon 2017-04-30 00:28:21 -05:00 committed by GitHub
parent 4597d21bcd
commit 9c0beba51c
3 changed files with 32 additions and 31 deletions

57
.vscode/launch.json vendored
View File

@ -3,40 +3,43 @@
"version": "0.1.0",
"configurations": [
{
"name": "Launch Extension",
"name": "Build, Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out",
"outFiles": [ "${workspaceRoot}/out" ],
"preLaunchTask": "build",
"internalConsoleOptions" : "openOnSessionStart"
},
{
"name": "Launch Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out",
"preLaunchTask": "build",
"internalConsoleOptions" : "openOnSessionStart"
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Yolo Extension (Don't build)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out"
}
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out" ]
},
{
"name": "Run Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/test"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out" ],
"preLaunchTask": "build",
"internalConsoleOptions": "openOnSessionStart"
}
]
}

View File

@ -46,7 +46,6 @@ gulp.task('tslint', function() {
});
gulp.task('default', ['tslint', 'compile']);
gulp.task('nothing', []);
gulp.task('compile', shell.task(['npm run vscode:prepublish']));
gulp.task('watch', shell.task(['npm run compile']));

View File

@ -454,8 +454,7 @@
"dependencies": {
"clipboardy": "^1.1.1",
"diff-match-patch": "^1.0.0",
"lodash": "^4.12.0",
"typescript": "^2.2.1"
"lodash": "^4.12.0"
},
"devDependencies": {
"gulp": "^3.9.1",
@ -474,4 +473,4 @@
"@types/node": "^6.0.41",
"@types/mocha": "^2.2.39"
}
}
}