-
Notifications
You must be signed in to change notification settings - Fork 495
/
package.json
23 lines (23 loc) · 1.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "hugo-paper",
"version": "6.28.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 `192.168.0.101` 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/",
"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.15",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"tailwindcss": "^3.4.16"
}
}