-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.14 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "rep-example-todo-react",
"version": "0.1.7",
"private": true,
"description": "Example: Todo app showing REP gateway + React SDK integration",
"scripts": {
"dev": "vite",
"dev:gateway": "rep dev --port 3000 --env .env.local --proxy http://localhost:5173 --hot-reload",
"build": "vite build",
"preview": "vite preview",
"rep:validate": "rep validate --manifest .rep.yaml",
"rep:typegen": "rep typegen --manifest .rep.yaml --output src/rep.d.ts",
"rep:lint": "rep lint --dir ./dist",
"rep:dev": "echo 'Use pnpm dev instead — the Vite plugin handles REP injection. Use pnpm dev:gateway for the full gateway.' && exit 1",
"rep:serve": "rep dev --port 3000 --env .env.local --static ./dist --hot-reload"
},
"dependencies": {
"@rep-protocol/react": "^0.1.10",
"@rep-protocol/sdk": "^0.1.10",
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@rep-protocol/cli": "^0.1.10",
"@rep-protocol/vite": "^0.1.10",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.7.0",
"typescript": "^5.4.0",
"vite": "^5.4.0"
}
}