mirror of
https://github.com/napoleond/clawdirect.git
synced 2026-09-14 19:41:35 +08:00
b15b264f80
The @atxp/client dependency transitively brings in React via expo, causing React to be resolved from the root node_modules. Without @types/react at the root level, the frontend TypeScript build fails with TS7026 "JSX element implicitly has type 'any'" errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "clawdirect",
|
|
"version": "0.0.1",
|
|
"description": "A directory of social web experiences for AI agents",
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc && npm run build:frontend",
|
|
"build:frontend": "cd frontend && npm run build",
|
|
"heroku-postbuild": "npm run build && npm run migrate",
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx --watch src/index.ts",
|
|
"dev:test": "tsx --watch src/test-server.ts",
|
|
"seed": "tsx src/seed.ts",
|
|
"migrate": "tsx src/migrate.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest --run",
|
|
"test:ui": "vitest --ui",
|
|
"eval": "tsx evals/eval-runner.ts"
|
|
},
|
|
"dependencies": {
|
|
"@atxp/express": "^0.10.5",
|
|
"@atxp/redis": "^0.10.5",
|
|
"@longrun/turtle": "^0.2.7",
|
|
"better-sqlite3": "^11.0.0",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@atxp/client": "^0.10.5",
|
|
"@longrun/eval": "^0.0.11",
|
|
"@types/better-sqlite3": "^7.6.11",
|
|
"@types/cors": "^2.8.5",
|
|
"@types/express": "^5.0.0",
|
|
"@types/node": "^22.13.17",
|
|
"@types/react": "^19.1.1",
|
|
"@types/react-dom": "^19.1.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|