Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanxiaobei/hugo-paper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanxiaobei <nanxiaobei@gmail.com>2021-08-24 06:18:15 +0300
committernanxiaobei <nanxiaobei@gmail.com>2021-08-24 06:18:15 +0300
commita677d6a6b9f68cfa7a3d19553048be55ead54af1 (patch)
tree0b35b2e600eb150031f46235363e60800913128c /package.json
parent0c6cec303c305debd4929745c80f56123d8637af (diff)
update scripts
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index e8681ad..f996c9e 100644
--- a/package.json
+++ b/package.json
@@ -6,10 +6,10 @@
"license": "MIT",
"private": true,
"scripts": {
- "server": "hugo server -Dw --minify --disableFastRender --themesDir ../.. --source exampleSite",
- "open": "open http://localhost:1313/",
+ "server": "hugo server -Dw --minify --disableFastRender --themesDir=../.. --source=exampleSite --bind=0.0.0.0",
+ "open": "open http://0.0.0.0:1313/",
"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",
"build": "yarn go & yarn site"
},