summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-04-25 23:33:18 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-04-25 23:33:18 +0200
commit88081d955e38264b6c7cd2be522ea6040a35d62c (patch)
treea9717045e286199c309befd439653c888e27fec1 /package.json
parentfff911885ae02c98b6b13f3a34c9120241dc7b78 (diff)
downloadgohugo-theme-ed-88081d955e38264b6c7cd2be522ea6040a35d62c.tar.gz
Add server command
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index f7e522c..a351ada 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,8 @@
"url": "git+https://github.com/sergeyklay/gohugo-theme-ed.git"
},
"scripts": {
- "deploy": " cd exampleSite; hugo;",
+ "deploy": "cd exampleSite; hugo;",
+ "server": "cd exampleSite; hugo server -D --disableFastRender",
"lint:editorconfig": "editorconfig-checker",
"lint:js": "eslint static/js/*.js",
"lint": "npm run lint:js && npm run lint:editorconfig"