update scripts
This commit is contained in:
parent
0c6cec303c
commit
a677d6a6b9
1 changed files with 3 additions and 3 deletions
|
@ -6,10 +6,10 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "hugo server -Dw --minify --disableFastRender --themesDir ../.. --source exampleSite",
|
"server": "hugo server -Dw --minify --disableFastRender --themesDir=../.. --source=exampleSite --bind=0.0.0.0",
|
||||||
"open": "open http://localhost:1313/",
|
"open": "open http://0.0.0.0:1313/",
|
||||||
"go": "cp exampleSite/go.default.mod exampleSite/go.mod",
|
"go": "cp exampleSite/go.default.mod exampleSite/go.mod",
|
||||||
"site": "hugo --gc --minify --config go.toml,config.toml --themesDir ../.. --source exampleSite",
|
"site": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml",
|
||||||
"dev": "yarn open & yarn server",
|
"dev": "yarn open & yarn server",
|
||||||
"build": "yarn go & yarn site"
|
"build": "yarn go & yarn site"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue