package.json: add npm script for hugo server

Use `npm run server` to start local Hugo server.
This commit is contained in:
Alan Orth 2021-12-13 15:07:47 +02:00
parent eb18a5ab3b
commit c815e0cffd
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -9,7 +9,8 @@
"build": "npm run build:css && npm run build:js && npm run clean && npm run copy:icons && npm run build:site", "build": "npm run build:css && npm run build:js && npm run clean && npm run copy:icons && npm run build:site",
"clean": "rm assets/css/style.css.tmp assets/css/style.css.tmp.map", "clean": "rm assets/css/style.css.tmp assets/css/style.css.tmp.map",
"copy:icons": "cp node_modules/bootstrap-icons/icons/file-earmark-code.svg node_modules/bootstrap-icons/icons/file-earmark-spreadsheet.svg assets/icons", "copy:icons": "cp node_modules/bootstrap-icons/icons/file-earmark-code.svg node_modules/bootstrap-icons/icons/file-earmark-spreadsheet.svg assets/icons",
"postinstall": "hugo-installer --version 0.89.4" "postinstall": "hugo-installer --version 0.89.4",
"server": "./bin/hugo/hugo serve"
}, },
"keywords": [ "keywords": [
"ISEAL", "ISEAL",