From 20e87403091d8c73049991af87aa76d7d3763d09 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Wed, 11 May 2022 08:47:21 +0200 Subject: Simplefied dev workflow, remove go.mod and go.sum --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') 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" -- cgit v1.2.3