mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-25 08:10:18 +01:00
package.json: add npm script for hugo server
Use `npm run server` to start local Hugo server.
This commit is contained in:
parent
eb18a5ab3b
commit
c815e0cffd
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user