update scripts
This commit is contained in:
parent
b1f8567931
commit
feb0ac5d1a
1 changed files with 3 additions and 3 deletions
|
@ -5,10 +5,10 @@
|
|||
"author": "nanxiaobei <nanxiaobei@gmail.com>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"__FOR_DEV__": "please change all `192.168.2.128` to your local IP",
|
||||
"__FOR_DEV__": "please change all `192.168.2.112` to your local IP",
|
||||
"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.128 --bind=192.168.2.128 --port=1313",
|
||||
"dev:open": "open http://192.168.2.128:1313/",
|
||||
"dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.2.112 --bind=192.168.2.112 --port=1313",
|
||||
"dev:open": "open http://192.168.2.112:1313/",
|
||||
"build:go": "cp exampleSite/go.default.mod exampleSite/go.mod",
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue