1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

feat(dev): support vscode dev-container (#1781)

This commit is contained in:
Cotes Chung
2024-06-03 21:12:54 +08:00
committed by GitHub
parent 1c5fa0880d
commit 1e3d4a6323
8 changed files with 59 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
if [ -f package.json ]; then
bash -i -c "nvm install --lts && nvm install-latest-npm"
npm i
npm run build
fi
# Install dependencies for shfmt extension
curl -sS https://webi.sh/shfmt | sh &>/dev/null