|
5 | 5 | "type": "module",
|
6 | 6 | "scripts": {
|
7 | 7 | "build": "tsup --format esm --dts",
|
8 |
| - "start": "node --loader ts-node/esm src/index.ts", |
9 |
| - "dev": "tsc && nodemon --watch src --watch ../core/dist --ext ts,json --exec 'node --loader ts-node/esm' src/index.ts", |
| 8 | + "start": "tsx src/index.ts", |
| 9 | + "dev": "tsc && nodemon --watch src --watch ../core/dist --ext ts,json --exec \"pnpm exec tsx\" src/index.ts", |
10 | 10 | "start:service:all": "pm2 start pnpm --name=\"all\" --restart-delay=3000 --max-restarts=10 -- run start:all",
|
11 | 11 | "stop:service:all": "pm2 stop all",
|
12 |
| - "start:all": "node --loader ts-node/esm src/index.ts --characters=\"../characters/eliza.json\",\"../characters/degenspartan.json\",\"../characters/ruby.json\",\"../characters/pmairca.json\"" |
| 12 | + "start:all": "tsx src/index.ts --characters=\"../characters/eliza.json\",\"../characters/degenspartan.json\",\"../characters/ruby.json\",\"../characters/pmairca.json\"" |
13 | 13 | },
|
14 | 14 | "dependencies": {
|
15 |
| - "@ai16z/eliza": "workspace:*", |
16 | 15 | "@ai16z/adapter-postgres": "workspace:*",
|
17 | 16 | "@ai16z/adapter-sqlite": "workspace:*",
|
18 |
| - "@ai16z/client-direct": "workspace:*", |
19 | 17 | "@ai16z/client-auto": "workspace:*",
|
| 18 | + "@ai16z/client-direct": "workspace:*", |
20 | 19 | "@ai16z/client-discord": "workspace:*",
|
21 | 20 | "@ai16z/client-telegram": "workspace:*",
|
22 | 21 | "@ai16z/client-twitter": "workspace:*",
|
| 22 | + "@ai16z/eliza": "workspace:*", |
23 | 23 | "@ai16z/plugin-bootstrap": "workspace:*",
|
24 | 24 | "@ai16z/plugin-image-generation": "workspace:*",
|
25 | 25 | "@ai16z/plugin-node": "workspace:*",
|
|
28 | 28 | "yargs": "17.7.2"
|
29 | 29 | },
|
30 | 30 | "devDependencies": {
|
31 |
| - "ts-node": "10.9.2", |
32 |
| - "tsup": "^8.3.5" |
| 31 | + "tsup": "^8.3.5", |
| 32 | + "tsx": "^4.19.2" |
33 | 33 | }
|
34 | 34 | }
|
0 commit comments