Skip to content

Commit 2fb5662

Browse files
committed
Update devcontainer.json
1 parent 1f69a5c commit 2fb5662

1 file changed

Lines changed: 13 additions & 41 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 13 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,28 @@
11
{
2-
"name": "Stylescape DevContainer",
3-
"build": {
4-
"dockerfile": "Dockerfile",
5-
"context": "."
6-
},
7-
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:0-18",
8-
"features": {
9-
"ghcr.io/devcontainers/features/node:1": {
10-
"version": "18"
11-
}
12-
},
2+
"name": "Stylescape Webpack Example",
3+
"image": "mcr.microsoft.com/devcontainers/javascript-node:22",
4+
"features": {},
135
"customizations": {
146
"vscode": {
157
"extensions": [
168
"dbaeumer.vscode-eslint",
179
"esbenp.prettier-vscode",
18-
"ms-python.python",
19-
"ms-vscode.vscode-typescript-next",
2010
"stylelint.vscode-stylelint",
21-
"streetsidesoftware.code-spell-checker",
22-
"redhat.vscode-yaml",
23-
"PKief.material-icon-theme",
2411
"syler.sass-indented",
25-
"vscode-icons-team.vscode-icons",
26-
"jinja.html-formatter",
27-
"ritwickdey.LiveServer",
28-
"gruntfuggly.todo-tree",
29-
"svelte.svelte-vscode",
30-
"octref.vetur" // Vue.js support
12+
"bradlc.vscode-tailwindcss",
13+
"formulahendry.auto-rename-tag",
14+
"PKief.material-icon-theme"
3115
],
3216
"settings": {
3317
"editor.formatOnSave": true,
34-
"terminal.integrated.shell.linux": "/bin/bash",
35-
"files.associations": {
36-
"*.jinja": "jinja"
18+
"editor.defaultFormatter": "esbenp.prettier-vscode",
19+
"editor.codeActionsOnSave": {
20+
"source.fixAll.eslint": "explicit"
3721
}
3822
}
3923
}
4024
},
41-
"forwardPorts": [
42-
3000
43-
],
44-
"postCreateCommand": "npm install && pip3 install -r requirements.txt",
45-
"remoteUser": "vscode",
46-
"workspaceFolder": "/workspace",
47-
"mounts": [
48-
"source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached"
49-
],
50-
"remoteEnv": {
51-
"NODE_ENV": "development"
52-
},
53-
"containerEnv": {
54-
"NODE_ENV": "development"
55-
}
56-
}
25+
"forwardPorts": [3000],
26+
"postCreateCommand": "npm install",
27+
"remoteUser": "vscode"
28+
}

0 commit comments

Comments
 (0)