|
|
@@ -34,7 +34,13 @@
|
|
|
"Bash(npm run *)",
|
|
|
"Bash(PORT=3001 STATIC_DIR=dist/client npx tsx server/src/index.ts)",
|
|
|
"Bash(curl -s http://localhost:3001/)",
|
|
|
- "Bash(curl -s http://localhost:3001/api/daily)"
|
|
|
+ "Bash(curl -s http://localhost:3001/api/daily)",
|
|
|
+ "Bash(npm install *)",
|
|
|
+ "Bash(STATIC_DIR=client PORT=3001 node --import tsx server/src/index.ts)",
|
|
|
+ "Bash(STATIC_DIR=client PORT=3002 node --import tsx server/src/index.ts)",
|
|
|
+ "Bash(curl -s http://localhost:3002/api/daily)",
|
|
|
+ "Bash(curl -s http://localhost:3002/)",
|
|
|
+ "Bash(curl -s -X POST http://localhost:3002/api/guess -H 'Content-Type: application/json' -d '{\"wordId\":4,\"guess\":\"style\",\"tryNo\":1}')"
|
|
|
]
|
|
|
}
|
|
|
}
|