mirror of
https://github.com/phranck/TUIkit.git
synced 2026-06-20 09:54:37 +00:00
- Create terminal-parser.ts to parse terminal-script.md - Add build script (generate-terminal-data.ts) to convert markdown to TypeScript - Refactor TerminalScreen.tsx to use generated data instead of hardcoded arrays - Add prebuild script to package.json for automatic data generation - Install tsx and @types/howler dev dependencies - Fix parser to preserve spacing in COUNTER prefix (Memory Test: ) - Update terminal-script.md documentation with [INLINE] tag explanation Now terminal content can be edited in markdown without touching TypeScript: 1. Edit terminal-script.md 2. Run: npx tsx scripts/generate-terminal-data.ts 3. Reload browser - changes are live
32 lines
693 B
JSON
32 lines
693 B
JSON
{
|
|
"name": "docs",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"prebuild": "tsx scripts/generate-terminal-data.ts",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint"
|
|
},
|
|
"dependencies": {
|
|
"howler": "^2.2.4",
|
|
"next": "16.1.6",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"sf-symbols-lib": "^1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/howler": "^2.2.12",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5"
|
|
}
|
|
}
|