chore: add build scripts

This commit is contained in:
SerKo 2022-05-09 18:57:04 +08:00
parent 2a4d7b6955
commit 72f4008687
3 changed files with 7 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

View File

@ -4,7 +4,8 @@
"description": "", "description": "",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "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": { "repository": {
"type": "git", "type": "git",

4
yarn.lock Normal file
View File

@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1