mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Updated launch tasks for auto installation
This commit is contained in:
27
frontend/react/.vscode/tasks.json
vendored
27
frontend/react/.vscode/tasks.json
vendored
@@ -1,13 +1,36 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "check-setup",
|
||||
"type": "shell",
|
||||
"command": "cd .. ; ./check_setup.bat",
|
||||
"isBackground": false
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "dev",
|
||||
"problemMatcher": [],
|
||||
"problemMatcher": [
|
||||
{
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": ".*",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"message": 3
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": ".*",
|
||||
"endsPattern": ".*",
|
||||
}
|
||||
}
|
||||
],
|
||||
"label": "npm: dev",
|
||||
"detail": "vite --port=8080",
|
||||
"isBackground": true
|
||||
"isBackground": true,
|
||||
"dependsOn": ["check-setup"]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,8 +1,6 @@
|
||||
cd website
|
||||
cd react
|
||||
|
||||
call npm install
|
||||
call npm install -g watchify babelify tsify
|
||||
call npm run build-debug
|
||||
|
||||
cd ..
|
||||
|
||||
|
||||
Reference in New Issue
Block a user