chore: scaffold twitter lite

This commit is contained in:
2026-07-13 09:41:34 +09:00
parent 245d8d743f
commit c4382c1669
17 changed files with 3459 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
{
"name": "twitter-lite",
"private": true,
"type": "module",
"packageManager": "[email protected]",
"engines": {
"node": ">=22.12.0"
},
"imports": {
"#/*": "./src/*"
},
"scripts": {
"dev": "vite dev --host 127.0.0.1 --port 3000",
"dev:tailscale": "vite dev --host 0.0.0.0 --port 3000",
"generate-routes": "tsr generate",
"build": "vite build",
"start": "HOST=127.0.0.1 node .output/server/index.mjs",
"typecheck": "tsc --noEmit",
"lint": "biome check .",
"format": "biome check --write .",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:live": "TWITTER_LITE_LIVE=1 vitest run tests/live/relay.test.ts"
},
"dependencies": {
"@tanstack/react-query": "5.101.2",
"@tanstack/react-router": "1.170.17",
"@tanstack/react-router-ssr-query": "1.167.1",
"@tanstack/react-start": "1.168.27",
"@yuta/bird": "link:../bird",
"nitro": "3.0.260610-beta",
"react": "19.2.7",
"react-dom": "19.2.7",
"zod": "4.4.3"
},
"devDependencies": {
"@biomejs/biome": "2.5.3",
"@playwright/test": "1.61.1",
"@tanstack/router-cli": "1.167.18",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@types/node": "26.1.1",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "6.0.3",
"jsdom": "29.1.1",
"typescript": "7.0.2",
"vite": "8.1.4",
"vitest": "4.1.10"
}
}