1
0
Fork 0

update scripts

This commit is contained in:
nanxiaobei 2022-07-24 23:57:29 +08:00
parent 738b99ee39
commit 673de3b4c1

View file

@ -11,7 +11,7 @@
"css": "pnpm tailwindcss -i ./assets/app.css -o ./assets/main.css --watch", "css": "pnpm tailwindcss -i ./assets/app.css -o ./assets/main.css --watch",
"go": "cp exampleSite/go.default.mod exampleSite/go.mod", "go": "cp exampleSite/go.default.mod exampleSite/go.mod",
"site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml", "site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml",
"dev": "pnpm css & pnpm start & pnpm open", "dev": "killall hugo & pnpm css & pnpm start & pnpm open",
"build": "pnpm go & pnpm site" "build": "pnpm go & pnpm site"
}, },
"dependencies": { "dependencies": {