1
0
Fork 0
This commit is contained in:
nanxiaobei 2023-05-18 02:52:02 +08:00
parent 05c835497d
commit 20e785dd77

View file

@ -1,14 +1,14 @@
{ {
"name": "hugo-paper", "name": "hugo-paper",
"version": "6.10.0", "version": "6.11.0",
"repository": "https://github.com/nanxiaobei/hugo-paper.git", "repository": "https://github.com/nanxiaobei/hugo-paper.git",
"author": "nanxiaobei <nanxiaobei@gmail.com>", "author": "nanxiaobei <nanxiaobei@gmail.com>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"__FOR_DEV__": "please change all `192.168.2.112` to your local IP", "__FOR_DEV__": "please change all `192.168.2.122` to your local IP",
"dev:tailwind": "pnpm tailwindcss -i ./assets/app.css -o ./assets/main.css --watch", "dev:tailwind": "pnpm tailwindcss -i ./assets/app.css -o ./assets/main.css --watch",
"dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.2.112 --bind=192.168.2.112 --port=1313", "dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.2.122 --bind=192.168.2.122 --port=1313",
"dev:open": "open http://192.168.2.112:1313/", "dev:open": "open http://192.168.2.122:1313/",
"build:go": "cp exampleSite/go.default.mod exampleSite/go.mod", "build:go": "cp exampleSite/go.default.mod exampleSite/go.mod",
"build:generate": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml", "build:generate": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml",
"dev": "killall hugo & pnpm dev:tailwind & pnpm dev:server & pnpm dev:open", "dev": "killall hugo & pnpm dev:tailwind & pnpm dev:server & pnpm dev:open",