2021-08-23 22:07:54 +02:00
|
|
|
{
|
|
|
|
"name": "hugo-paper",
|
2022-11-16 15:02:30 +01:00
|
|
|
"version": "6.4.0",
|
2021-08-23 22:07:54 +02:00
|
|
|
"repository": "https://github.com/nanxiaobei/hugo-paper.git",
|
|
|
|
"author": "nanxiaobei <nanxiaobei@gmail.com>",
|
|
|
|
"license": "MIT",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2022-12-24 21:13:43 +01:00
|
|
|
"__FOR_DEV__": "please change 192.168.0.122 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.122 --bind=192.168.0.122 --port=1313",
|
|
|
|
"dev:open": "open http://192.168.0.122: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"
|
2021-08-23 22:07:54 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-11-16 14:54:41 +01:00
|
|
|
"@tailwindcss/typography": "^0.5.8",
|
2022-12-24 21:13:43 +01:00
|
|
|
"prettier": "^2.8.1",
|
|
|
|
"prettier-plugin-tailwindcss": "^0.2.1",
|
|
|
|
"stylelint": "^14.16.0",
|
2022-08-15 20:20:54 +02:00
|
|
|
"stylelint-config-one": "^2.3.1",
|
2022-11-16 14:54:41 +01:00
|
|
|
"tailwindcss": "^3.2.4"
|
2021-08-23 22:07:54 +02:00
|
|
|
}
|
|
|
|
}
|