Files
fabula-ultima-html/package.json
Drew Malzahn 3effb0406e feat: Add template spell picker from spells.yml; polish spell table
- Add yaml-loader; import data/spells.yml at build time
- Add SpellTemplate/SpellsFile types to globals.d.ts
- Add 'Add Template Spell' button that opens a modal picker pre-filling
  all spell fields from the YAML data
- Move spell data files into data/ directory
- Split spell rows into inputs row + full-width notes row (colspan=6)
- Shrink delete column to fit-content; bold spell name input
- Add class column to spell table; change MP cost to free-text input
- Auto-resize spell notes textarea on load and on input
- Add 10px padding between spells for visual separation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 17:52:02 -04:00

32 lines
924 B
JSON

{
"scripts": {
"build": "webpack --mode=production",
"dev": "webpack serve --mode=development",
"typecheck": "tsc --noEmit",
"prepare": "git config core.hooksPath .githooks || true"
},
"devDependencies": {
"@babel/core": "^7.29.7",
"@babel/preset-react": "^7.29.7",
"@babel/preset-typescript": "^7.29.7",
"@babel/register": "^7.29.7",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"babel-loader": "^10.1.1",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.4",
"css-minimizer-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.6.7",
"mini-css-extract-plugin": "^2.10.2",
"prettier": "^3.8.3",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"style-loader": "^4.0.0",
"typescript": "^6.0.3",
"webpack": "^5.107.2",
"webpack-cli": "^7.0.3",
"webpack-dev-server": "^5.2.4",
"yaml-loader": "^0.9.0"
}
}