summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-11 08:47:21 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-11 08:47:21 +0200
commit20e87403091d8c73049991af87aa76d7d3763d09 (patch)
treea7723f8e7d7b22853752146705b6a3cd39934534 /package.json
parent52ec5d04d585a4ac4b5a4215d3b0aa5a79006c26 (diff)
downloadgohugo-theme-ed-20e87403091d8c73049991af87aa76d7d3763d09.tar.gz
Simplefied dev workflow, remove go.mod and go.sum
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 84c6f0c..3b968eb 100644
--- a/package.json
+++ b/package.json
@@ -31,8 +31,8 @@
"url": "git+https://github.com/sergeyklay/gohugo-theme-ed.git"
},
"scripts": {
- "deploy": "cd exampleSite; hugo;",
- "server": "cd exampleSite; hugo server -D --disableFastRender",
+ "build": "hugo --contentDir=exampleSite/content --gc --minify --themesDir=..",
+ "server": "hugo server --contentDir=exampleSite/content --disableFastRender --themesDir=..",
"lint:editorconfig": "editorconfig-checker",
"lint:js": "eslint static/js/*.js",
"lint": "npm run lint:js && npm run lint:editorconfig"