25 lines
1.1 KiB
JSON
25 lines
1.1 KiB
JSON
{
|
|||
|
|
"name": "hugo-paper",
|
||
|
|
"version": "6.25.0",
|
||
|
|
"repository": "https://github.com/nanxiaobei/hugo-paper.git",
|
||
|
|
"author": "nanxiaobei <nanxiaobei@gmail.com>",
|
||
|
|
"license": "MIT",
|
||
|
|
"scripts": {
|
||
|
|
"__FOR_DEV__": "To dev on mobile, change all `0.0.0.0` 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=0.0.0.0 --bind=0.0.0.0 --port=1313",
|
||
|
|
"dev:open": "open http://0.0.0.0: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",
|
||
|
|
"build": "pnpm build:go & pnpm build:generate"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@tailwindcss/typography": "^0.5.12",
|
||
|
|
"prettier": "^3.2.5",
|
||
|
|
"prettier-plugin-tailwindcss": "^0.5.14",
|
||
|
|
"stylelint": "^16.3.1",
|
||
|
|
"stylelint-config-one": "^3.0.1",
|
||
|
|
"tailwindcss": "^3.4.3"
|
||
|
|
}
|
||
|
|
}
|