|
1 | 1 | {
|
2 | 2 | "name": "chatgpt-web-service",
|
| 3 | + "type": "module", |
3 | 4 | "version": "1.0.0",
|
4 | 5 | "private": false,
|
5 | 6 | "description": "ChatGPT Web Service",
|
|
14 | 15 | "node": "^16 || ^18 || ^20 || ^21"
|
15 | 16 | },
|
16 | 17 | "scripts": {
|
17 |
| - "start": "esno ./src/index.ts", |
18 |
| - "dev": "esno watch ./src/index.ts", |
19 |
| - "prod": "esno ./build/index.js", |
20 |
| - "build": "pnpm clean && tsup", |
| 18 | + "start": "tsx ./src/index.ts", |
| 19 | + "dev": "tsx watch ./src/index.ts", |
| 20 | + "prod": "node --import tsx/esm ./build/index.js", |
| 21 | + "prod-node18": "node --loader tsx/esm ./build/index.js", |
| 22 | + "build": "pnpm clean && tsc", |
21 | 23 | "clean": "rimraf build",
|
22 | 24 | "lint": "eslint .",
|
23 | 25 | "lint:fix": "eslint . --fix",
|
|
28 | 30 | "chatgpt": "^5.2.4",
|
29 | 31 | "dayjs": "^1.11.7",
|
30 | 32 | "dotenv": "^16.0.3",
|
31 |
| - "esno": "^0.16.3", |
32 | 33 | "express": "^4.18.2",
|
33 | 34 | "express-rate-limit": "^6.7.0",
|
34 | 35 | "gpt-token": "^0.0.5",
|
35 | 36 | "https-proxy-agent": "^5.0.1",
|
36 | 37 | "isomorphic-fetch": "^3.0.0",
|
37 | 38 | "jwt-decode": "^3.1.2",
|
| 39 | + "jsonwebtoken": "^9.0.0", |
38 | 40 | "mongodb": "^5.9.2",
|
39 | 41 | "node-fetch": "^3.3.0",
|
40 | 42 | "nodemailer": "^6.9.1",
|
41 | 43 | "request-ip": "^3.3.0",
|
42 |
| - "socks-proxy-agent": "^7.0.0" |
| 44 | + "socks-proxy-agent": "^7.0.0", |
| 45 | + "speakeasy": "^2.0.0", |
| 46 | + "tsx": "^4.7.0" |
43 | 47 | },
|
44 | 48 | "devDependencies": {
|
45 |
| - "@antfu/eslint-config": "^0.35.3", |
| 49 | + "@antfu/eslint-config": "^0.43.1", |
46 | 50 | "@types/express": "^4.17.17",
|
47 | 51 | "@types/node": "^18.14.6",
|
48 |
| - "eslint": "^8.35.0", |
49 |
| - "jsonwebtoken": "^9.0.0", |
| 52 | + "eslint": "^8.56.0", |
50 | 53 | "rimraf": "^4.3.0",
|
51 |
| - "speakeasy": "^2.0.0", |
52 |
| - "tsup": "^6.6.3", |
53 |
| - "typescript": "^4.9.5" |
| 54 | + "typescript": "^5.3.3" |
54 | 55 | }
|
55 | 56 | }
|
0 commit comments