ConnectForce/ConnectForce.code-workspace

149 lines
4.7 KiB
Plaintext

{
"folders": [
{
"name": "ConnectForce",
"path": "./packages/game"
},
{
"name": "Server",
"path": "./packages/server"
},
{
"name": "Solution Items",
"path": "."
}
],
"settings": {
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": true,
"javascript.format.placeOpenBraceOnNewLineForFunctions": true,
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": true,
"typescript.format.placeOpenBraceOnNewLineForFunctions": true,
"html.format.extraLiners": "",
"html.format.indentInnerHtml": true,
"html.format.maxPreserveNewLines": 1,
"html.format.wrapAttributes": "preserve-aligned",
"npm.packageManager": "npm"
},
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"options": {
"cwd": "${workspaceFolder:Solution Items}"
},
"command": "npm",
"args": [
"run",
"watch"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
{
"owner": "gulp",
"pattern": {
"regexp": ""
},
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Starting '(?!Watch).*?'"
},
"endsPattern": {
"regexp": "Finished '.*?'"
}
}
}
],
"isBackground": true,
"presentation": {
"reveal": "never"
}
},
{
"label": "Rebuild",
"type": "shell",
"options": {
"cwd": "${workspaceFolder:Solution Items}"
},
"command": "npm",
"args": [
"run",
"rebuild"
],
"problemMatcher": [],
"presentation": {
"reveal": "never"
}
},
{
"label": "Lint",
"type": "shell",
"options": {
"cwd": "${workspaceFolder:Solution Items}"
},
"command": "npm",
"args": [
"run",
"lint-ide"
],
"problemMatcher": "$eslint-stylish",
"presentation": {
"reveal": "never"
}
}
]
},
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"launch": {
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Website in Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder:ConnectForce}/lib/static",
"preLaunchTask": "Build",
"pathMapping": {
"/": "${workspaceFolder:ConnectForce}/src"
}
},
{
"type": "node",
"request": "launch",
"name": "Launch Server",
"program": "${workspaceFolder:Server}/src/main.js",
"console": "integratedTerminal"
}
],
"compounds": [
{
"name": "Launch Project in Chrome",
"configurations": [
"Launch Website in Chrome",
"Launch Server"
]
}
]
},
"extensions": {
"recommendations": [
"dbaeumer.vscode-eslint",
"hbenl.test-adapter-converter",
"hbenl.vscode-mocha-test-adapter",
"hbenl.vscode-test-explorer"
]
}
}