chore: add React, Tailwind and the client build
Tailwind v4 @theme carries the two colour axes as tokens: a deep blue-black ground, per-game hues for identity, and a heat ramp for urgency that is monotonic in salience (dim, blue, amber, red). Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
5964f4b2fa
commit
49d52e3587
+13
-1
@@ -5,13 +5,25 @@
|
||||
"scripts": {
|
||||
"test": "bun test",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"parse": "bun run scripts/parse-fixture.ts"
|
||||
"parse": "bun run scripts/parse-fixture.ts",
|
||||
"build:feed": "bun run scripts/build-feed.ts",
|
||||
"build:css": "bunx @tailwindcss/cli -i src/client/styles.css -o public/styles.css --minify",
|
||||
"build:js": "bun build src/client/main.tsx --outfile public/main.js --minify",
|
||||
"build": "bun run build:feed && bun run build:css && bun run build:js && bun run build:html",
|
||||
"dev": "bun run build && bunx serve public -l 3000",
|
||||
"build:html": "cp index.html public/index.html"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.2.8",
|
||||
"react-dom": "^19.2.8",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/cli": "^4.3.3",
|
||||
"@types/bun": "^1.1.10",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.4",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user