1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 19:25:32 -04:00

playing with codespaces 🤓

[skip ci]
This commit is contained in:
2020-08-13 21:27:21 -04:00
parent 347c577d3a
commit cdd5566dad
2 changed files with 19 additions and 22 deletions

22
.vscode/launch.json vendored
View File

@@ -1,22 +0,0 @@
{
// 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
"version": "0.2.0",
"configurations": [
{
"type": "node-terminal",
"request": "launch",
"name": "Start local server",
"command": "npm start"
},
{
"type": "firefox",
"request": "launch",
"name": "Launch local server in Firefox",
"url": "http://localhost:1337/",
"webRoot": "${workspaceFolder}",
"reAttach": true
}
]
}

19
devcontainer.json Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "jarv.is",
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:0-14",
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh"
},
"extensions": [
"budparr.language-hugo-vscode",
"bungcip.better-toml",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"stylelint.vscode-stylelint"
],
"forwardPorts": [
1337,
9337
],
"postCreateCommand": "yarn install"
}