From 72f4008687838a9adf48a87d52c27cfe04f1e959 Mon Sep 17 00:00:00 2001 From: SerKo Date: Mon, 9 May 2022 18:57:04 +0800 Subject: [PATCH] chore: add build scripts --- .gitignore | 1 + package.json | 3 ++- yarn.lock | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/package.json b/package.json index df2ad7b..ba80629 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "dev": "hugo server -D --disableFastRender --source=exampleSite --themesDir=../.. --theme=holy" + "dev": "hugo server -D --disableFastRender --source=exampleSite --themesDir=../.. --theme=holy", + "build": "hugo --source=exampleSite --themesDir=../.. --theme=holy" }, "repository": { "type": "git", diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..fb57ccd --- /dev/null +++ b/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + +