Skip to content

Commit

Permalink
run pagefind as part of build
Browse files Browse the repository at this point in the history
  • Loading branch information
Les Orchard committed Jul 25, 2024
1 parent ccfdd49 commit 4d2a7f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"scripts": {
"start": "npm-run-all --parallel serve watch",
"serve": "http-server -d true -i true -p 9980 build",
"watch": "onchange -v -i -d 1000 content package.json index.js lib templates -- npm run build",
"build": "node index.js build",
"watch": "onchange -v -i -d 1000 content package.json index.js lib templates -- npm run build-posts",
"build": "node index.js build && npm run build-search",
"build-posts": "node index.js build",
"build-search": "pagefind --site build --keep-index-url",
"test": "echo \"Error: no test specified\" && exit 1",
"stage": "npm-run-all --serial stage:build stage:deploy",
Expand Down

0 comments on commit 4d2a7f8

Please sign in to comment.