mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
feat(ex): sample vscode task
This commit is contained in:
parent
bb25d67b9b
commit
52ce6abb77
2 changed files with 20 additions and 1 deletions
19
packages/db/test/fixtures/recipes/.vscode/tasks.json
vendored
Normal file
19
packages/db/test/fixtures/recipes/.vscode/tasks.json
vendored
Normal 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"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"typegen": "astro dev"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
Loading…
Add table
Reference in a new issue