Add vs code tasks (#141)

This commit is contained in:
Rinat Arsaev 2022-09-20 19:17:46 +03:00 committed by GitHub
parent cc9f829473
commit 11cc97ecf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 75 additions and 1 deletions

2
.gitignore vendored
View File

@ -18,7 +18,7 @@
# IDE - VSCode
.vscode/*
#!.vscode/settings.json
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

9
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,9 @@
{
"recommendations": [
"hediet.tasks-statusbar",
"streetsidesoftware.code-spell-checker-russian",
"wmaurer.change-case",
"johnpapa.vscode-peacock",
"streetsidesoftware.code-spell-checker"
]
}

24
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#ab307e",
"activityBar.activeBorder": "#25320e",
"activityBar.background": "#ab307e",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#25320e",
"activityBarBadge.foreground": "#e7e7e7",
"sash.hoverBorder": "#ab307e",
"statusBar.background": "#832561",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#ab307e",
"statusBarItem.remoteBackground": "#832561",
"statusBarItem.remoteForeground": "#e7e7e7",
"titleBar.activeBackground": "#832561",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#83256199",
"titleBar.inactiveForeground": "#e7e7e799",
"commandCenter.border": "#e7e7e799"
},
"peacock.color": "#832561",
"tasksStatusbar.taskLabelFilter": "Start"
}

41
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,41 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Libs",
"type": "shell",
"command": "npm run dev-libs",
"presentation": {
"group": "stage"
}
},
{
"label": "Stage",
"type": "shell",
"command": "sleep 0.5 && npm run stage",
"presentation": {
"group": "stage"
}
},
{
"label": "Dev",
"type": "shell",
"command": "sleep 0.5 && npm run dev",
"presentation": {
"group": "stage"
}
},
{
"label": "Start stage & libs",
"dependsOn": ["Libs", "Stage"],
"problemMatcher": []
},
{
"label": "Start dev & libs",
"dependsOn": ["Libs", "Dev"],
"problemMatcher": []
}
]
}