refactor: convert js to ts
This commit is contained in:
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
@@ -6,12 +6,9 @@
|
||||
"name": "Launch Extension",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
||||
"preLaunchTask": "npm: build",
|
||||
"preLaunchTask": "tsc: build - tsconfig.json",
|
||||
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
||||
"sourceMaps": true,
|
||||
"stopOnEntry": false
|
||||
},
|
||||
{
|
||||
"name": "Launch Tests",
|
||||
@@ -23,7 +20,6 @@
|
||||
"--extensionTestsPath=${workspaceRoot}/test"
|
||||
],
|
||||
"preLaunchTask": "npm: build",
|
||||
"stopOnEntry": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
17
.vscode/tasks.json
vendored
17
.vscode/tasks.json
vendored
@@ -15,6 +15,21 @@
|
||||
"problemMatcher": [],
|
||||
"label": "npm: format",
|
||||
"detail": "prettier --single-quote --print-width 88 --write \"src/**/*.js\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "watch",
|
||||
"problemMatcher": "$ts-webpack-watch",
|
||||
"isBackground": true,
|
||||
"presentation": {
|
||||
"reveal": "never",
|
||||
"group": "watchers"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user