simplify npm scripts

This commit is contained in:
OCram85 2022-01-28 11:02:58 +01:00
parent d5bc7bf511
commit d38e68c018

View File

@ -8,8 +8,8 @@
"check": "exec-bin node_modules/.bin/hugo/hugo version", "check": "exec-bin node_modules/.bin/hugo/hugo version",
"clean": "rimraf public/", "clean": "rimraf public/",
"lint:markdown": "markdownlint \"*.md\" \"content/**/*.md\"", "lint:markdown": "markdownlint \"*.md\" \"content/**/*.md\"",
"start": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender", "start": "npm run server",
"server": "exec-bin node_modules/.bin/hugo/hugo server", "server": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 -D",
"test": "npm run lint:markdown", "test": "npm run lint:markdown",
"postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo" "postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo"
}, },