Skip to content

Commit

Permalink
Fix package.json warning (#1613)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jpoon authored Apr 30, 2017
1 parent 4597d21 commit 9c0beba
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
57 changes: 30 additions & 27 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [ "${workspaceRoot}/out" ]
},

{
"name": "Yolo Extension (Don't build)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${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"
}
]
}
1 change: 0 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']));
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -474,4 +473,4 @@
"@types/node": "^6.0.41",
"@types/mocha": "^2.2.39"
}
}
}

0 comments on commit 9c0beba

Please sign in to comment.