From 11ac3a22ab88648238c6f1f9ce6bcd54f22c6a45 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 19 Feb 2025 06:23:51 +0800 Subject: [PATCH] feat: add devcontainer config --- .devcontainer/devcontainer.json | 11 +++++++++++ package.json | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..87faf30 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,11 @@ +{ + "name": "Node.js 22 Development Environment", + "image": "mcr.microsoft.com/devcontainers/javascript-node:22", + "settings": { + "terminal.integrated.defaultProfile.linux": "/bin/bash" + }, + "extensions": [ + "dbaeumer.vscode-eslint" + ], + "postCreateCommand": "npm install -g @kevisual/envision-cli@latest && npm install" +} \ No newline at end of file diff --git a/package.json b/package.json index 24380cb..64d5c36 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,9 @@ "prepub": "envision switchOrg user", "pub": "envision deploy ./dist -k app-template -v 0.0.1" }, + "stackblitz": { + "startCommand": "npm dev:web" + }, "keywords": [], "author": "abearxiong ", "license": "MIT",