0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

feat(ex): sample vscode task

This commit is contained in:
bholmesdev 2024-02-02 17:44:57 -05:00
parent bb25d67b9b
commit 52ce6abb77
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,19 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Astro DB Type Generation",
"type": "shell",
"command": "npm run typegen",
"isBackground": true,
"presentation": {
"reveal": "silent"
},
"runOptions": {
"runOn": "folderOpen"
},
}
]
}

View file

@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"typegen": "astro dev"
},
"keywords": [],
"author": "",