Skip to content

Commit

Permalink
build(feat): add proper npm run server script
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Kollitsch <[email protected]>
  • Loading branch information
davidsneighbour committed Oct 18, 2024
1 parent 363bd2e commit 6e46565
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,18 @@
"scripts": {
"deploy": "cd exampleSite; hugo;",
"release": "wireit",
"release:pre": "wireit"
"release:pre": "wireit",
"server": "wireit"
},
"wireit": {
"release": {
"command": "commit-and-tag-version --sign -a -t \"v\" --releaseCommitMessageFormat \"chore(release): v{{currentTag}}\" -- --no-verify"
},
"release:pre": {
"command": "commit-and-tag-version --sign -a -t \"v\" --releaseCommitMessageFormat \"chore(release): v{{currentTag}}\" --prerelease prerelease -- --no-verify"
},
"server": {
"command": "cd exampleSite; rm -rf public; hugo server -D -E -F --disableFastRender --verbose --logLevel debug --debug --tlsAuto --panicOnWarning"
}
}
}

0 comments on commit 6e46565

Please sign in to comment.