1
0
Fork 0

update scripts

This commit is contained in:
nanxiaobei 2023-07-06 02:07:54 +08:00
parent 3bde466d4f
commit eec647a716
1 changed files with 4 additions and 4 deletions

View File

@ -5,10 +5,10 @@
"author": "nanxiaobei <nanxiaobei@gmail.com>",
"license": "MIT",
"scripts": {
"__FOR_DEV__": "please change all `192.168.0.101` to your local IP",
"__FOR_DEV__": "please change all `192.168.0.102` 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.0.101 --bind=192.168.0.101 --port=1313",
"dev:open": "open http://192.168.0.101:1313/",
"dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.0.102 --bind=192.168.0.102 --port=1313",
"dev:open": "open http://192.168.0.102: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",
@ -16,7 +16,7 @@
},
"dependencies": {
"@tailwindcss/typography": "^0.5.9",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.3.0",
"stylelint": "^15.10.0",
"stylelint-config-one": "^2.4.0",