refactor: use package.json instead of Makefile

This commit is contained in:
SerKo 2022-04-03 16:50:18 +08:00
parent 6700b6cd6f
commit 3e90edc8ef
2 changed files with 19 additions and 3 deletions

View File

@ -1,3 +0,0 @@
.PHONY: dev
dev:
hugo server -D --disableFastRender --source=exampleSite --themesDir=../.. --theme=holy

19
package.json Normal file
View File

@ -0,0 +1,19 @@
{
"name": "holy",
"version": "0.0.1",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "hugo server -D --disableFastRender --source=exampleSite --themesDir=../.. --theme=holy"
},
"repository": {
"type": "git",
"url": "git+https://github.com/serkodev/holy.git"
},
"author": "SerKo (https://github.com/serkodev)",
"license": "ISC",
"bugs": {
"url": "https://github.com/serkodev/holy/issues"
},
"homepage": "https://github.com/serkodev/holy#readme"
}