forked from idootop/mi-gpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.5 KB
/
package.json
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "mi-gpt",
"version": "3.0.1",
"type": "module",
"description": "将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。",
"homepage": "https://github.com/idootop/mi-gpt",
"bugs": "https://github.com/idootop/mi-gpt/issues",
"repository": "idootop/mi-gpt",
"license": "MIT",
"author": {
"name": "Del Wang",
"email": "[email protected]",
"url": "https://github.com/idootop"
},
"keywords": [
"mi",
"xiaomi",
"mi-home",
"ChatGPT",
"home-assistant"
],
"scripts": {
"start": "node ./app.js",
"build": "npx -y prisma generate && tsup",
"db:gen": "npx -y prisma migrate dev --name init",
"db:reset": "rm -f .mi.json .bot.json prisma/app.db prisma/app.db-journal",
"postinstall": "npx prisma migrate dev --name hello"
},
"dependencies": {
"@prisma/client": "^5.14.0",
"fs-extra": "^11.2.0",
"https-proxy-agent": "^7.0.4",
"mi-service-lite": "^2.4.0",
"openai": "^4.47.3",
"prisma": "^5.14.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.4.9",
"tsup": "^8.0.1",
"tsx": "^4.11.0",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=16"
},
"sideEffects": false,
"files": [
"dist",
"prisma/migrations",
"prisma/schema.prisma"
],
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
}