Skip to content

sinires/dungeon-master-tools

Repository files navigation

dm-tools

Commands

npm install
npm run dev

Production build:

npm run build

Code quality:

npm run format
npm run format:check
npm run lint
npm run lint:fix

Initiative Tracker

  • Local state in browser (localStorage) via zustand/persist
  • Initiative list with current turn tracking
  • JSON export/import without versioning

FSD structure

src/ is decomposed by layers:

  • app - application entry and root composition
  • pages - route-level screens
  • features - user actions (add-combatant, turn-controls, snapshot-transfer)
  • entities - domain model and UI (tracker)
  • shared - reusable libs/utilities

GitHub scripts and workflows

Local scripts:

npm run start
npm run ci
npm run build:pages

GitHub Actions:

  • .github/workflows/ci.yml runs lint + build on every push and PR.
  • .github/workflows/pages.yml builds and deploys dist/ to GitHub Pages from main.

To enable Pages deploy:

  1. Open Settings -> Pages in your GitHub repository.
  2. Set Source to GitHub Actions.
  3. Push to main or run Deploy GitHub Pages manually from Actions tab.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages