mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-12 20:45:52 +00:00
Update build scripts and enhance README: Modify build command to delete HTML files before building, improve search indexing command, and add a badge for DeepWiki in the README. Refactor math subject initialization and enhance type definitions in BigNumbersScale component for better clarity and maintainability. Introduce sound effects in vertical arithmetic workbench for improved user interaction.
This commit is contained in:
parent
27e802777f
commit
3f3ea4a36c
14 changed files with 180 additions and 25 deletions
|
|
@ -6,8 +6,8 @@
|
|||
"scripts": {
|
||||
"sync:chapters": "bun scripts/sync-chapters.ts",
|
||||
"build:js": "bun run sync:chapters && vite build",
|
||||
"build": "rm -f themes/openfreebooks/static/main.css public/main.css && bun run build:js && zola build && bun run index:search",
|
||||
"index:search": "pagefind --site public && rm -rf static/pagefind && cp -R public/pagefind static/pagefind",
|
||||
"build": "find themes/openfreebooks/static -name '*.html' -delete && rm -f themes/openfreebooks/static/main.css public/main.css && bun run build:js && zola build && bun run index:search",
|
||||
"index:search": "pagefind --site public --glob \"**/index.html\" && rm -rf static/pagefind && cp -R public/pagefind static/pagefind",
|
||||
"dev:js": "bun run sync:chapters && vite build --watch",
|
||||
"scan:size": "bun scripts/scan-output-size.ts",
|
||||
"test": "bun test frontend/src/lib"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue