mi-gpt/package.json

68 lines
1.6 KiB
JSON
Raw Normal View History

2024-01-24 15:14:28 +00:00
{
"name": "mi-gpt",
2024-06-01 03:51:10 +00:00
"version": "2.0.1",
2024-01-24 15:14:28 +00:00
"type": "module",
2024-03-05 13:08:34 +00:00
"description": "将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。",
2024-01-24 15:14:28 +00:00
"license": "MIT",
"author": {
"name": "Del Wang",
"email": "hello@xbox.work",
"url": "https://github.com/idootop"
},
"keywords": [
"mi",
"xiaomi",
"mi-home",
2024-05-18 03:40:45 +00:00
"ChatGPT",
2024-01-24 15:14:28 +00:00
"home-assistant"
],
"scripts": {
2024-02-29 06:29:41 +00:00
"start": "node ./scripts/runner.js",
2024-05-18 03:40:45 +00:00
"build": "pnpm prisma generate && tsup",
"db:gen": "pnpm prisma migrate dev --name init",
2024-02-29 06:29:41 +00:00
"db:reset": "rm -f .mi.json .bot.json prisma/app.db prisma/app.db-journal"
2024-01-24 15:14:28 +00:00
},
"dependencies": {
2024-01-25 18:06:22 +00:00
"@prisma/client": "^5.8.1",
"axios": "^1.6.5",
2024-02-27 15:35:00 +00:00
"fs-extra": "^11.2.0",
"https-proxy-agent": "^7.0.4",
2024-03-05 15:40:52 +00:00
"mi-service-lite": "^2.3.0",
2024-05-21 13:57:23 +00:00
"openai": "^4.47.1",
2024-01-25 18:06:22 +00:00
"prisma": "^5.8.1"
2024-01-24 15:14:28 +00:00
},
"devDependencies": {
2024-02-27 15:35:00 +00:00
"@types/fs-extra": "^11.0.4",
2024-01-24 15:14:28 +00:00
"@types/node": "^20.4.9",
"dotenv": "^16.3.2",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=16"
},
"sideEffects": false,
"files": [
"dist",
"prisma/migrations",
"prisma/schema.prisma"
2024-01-24 15:14:28 +00:00
],
"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"
},
"homepage": "https://github.com/idootop/mi-gpt",
"bugs": {
"url": "https://github.com/idootop/mi-gpt/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/idootop/mi-gpt.git"
}
}