Minor tweaks
This commit is contained in:
parent
84f973d9dc
commit
a00818017b
@ -1,35 +1,35 @@
|
||||
{
|
||||
"name": "{{ cookiecutter.project_slug }} Dev",
|
||||
"image": "thomasloven/hass-custom-devcontainer",
|
||||
"postCreateCommand": "sudo -E container setup-dev && npm add",
|
||||
"containerEnv": {
|
||||
"DEVCONTAINER": "1"
|
||||
"name": "{{ cookiecutter.project_slug }} Dev",
|
||||
"image": "thomasloven/hass-custom-devcontainer",
|
||||
"postCreateCommand": "sudo -E container setup-dev && npm add",
|
||||
"containerEnv": {
|
||||
"DEVCONTAINER": "1"
|
||||
},
|
||||
"forwardPorts": [8123],
|
||||
"mounts": [
|
||||
"source=${localWorkspaceFolder},target=/config/www/workspace,type=bind",
|
||||
"source=${localWorkspaceFolder}/test,target=/config/test,type=bind",
|
||||
"source=${localWorkspaceFolder}/test/configuration.yaml,target=/config/configuration.yaml,type=bind",
|
||||
"source=${localWorkspaceFolder}/custom_components,target=/config/custom_components,type=bind"
|
||||
],
|
||||
"runArgs": ["--env-file", "${localWorkspaceFolder}/test/.env"],
|
||||
"extensions": [
|
||||
"github.vscode-pull-request-github",
|
||||
"esbenp.prettier-vscode",
|
||||
"spmeesseman.vscode-taskexplorer"
|
||||
],
|
||||
"settings": {
|
||||
"files.eol": "\n",
|
||||
"editor.tabSize": 2,
|
||||
"editor.formatOnPaste": false,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnType": true,
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"forwardPorts": [8123],
|
||||
"mounts": [
|
||||
"source=${localWorkspaceFolder},target=/config/www/workspace,type=bind",
|
||||
"source=${localWorkspaceFolder}/test,target=/config/test,type=bind",
|
||||
"source=${localWorkspaceFolder}/test/configuration.yaml,target=/config/configuration.yaml,type=bind",
|
||||
"source=${localWorkspaceFolder}/custom_components,target=/config/custom_components,type=bind"
|
||||
],
|
||||
"runArgs": ["--env-file", "${localWorkspaceFolder}/test/.env"],
|
||||
"extensions": [
|
||||
"github.vscode-pull-request-github",
|
||||
"esbenp.prettier-vscode",
|
||||
"spmeesseman.vscode-taskexplorer"
|
||||
],
|
||||
"settings": {
|
||||
"files.eol": "\n",
|
||||
"editor.tabSize": 2,
|
||||
"editor.formatOnPaste": false,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnType": true,
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"files.trimTrailingWhitespace": true
|
||||
}
|
||||
}
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"files.trimTrailingWhitespace": true
|
||||
}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
{{ cookiecutter.project_file }}.js binary
|
||||
package-lock.json.binary
|
||||
src/{{ cookiecutter.project_file }}.js -binary
|
||||
package-lock.json binary
|
||||
|
@ -1,32 +1,32 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "npm: build",
|
||||
"type": "npm",
|
||||
"script": "build",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "npm: watch",
|
||||
"type": "npm",
|
||||
"script": "watch",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"panel": "shared",
|
||||
"group": "test"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run hass",
|
||||
"type": "shell",
|
||||
"command": "sudo container launch",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"panel": "shared",
|
||||
"group": "test"
|
||||
}
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "npm: build",
|
||||
"type": "npm",
|
||||
"script": "build",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "npm: watch",
|
||||
"type": "npm",
|
||||
"script": "watch",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"panel": "shared",
|
||||
"group": "test"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run hass",
|
||||
"type": "shell",
|
||||
"command": "sudo container launch",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"panel": "shared",
|
||||
"group": "test"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2017",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"experimentalDecorators": true
|
||||
}
|
||||
"compilerOptions": {
|
||||
"target": "es2017",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"experimentalDecorators": true
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user