assistant/package.json

92 lines
2.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "ai-prospecting-assistant",
"version": "0.4.0",
"description": "橘子拓客 - 小红书桌面 Agent,边做边学、经验沉淀",
"main": "dist/main.cjs",
"scripts": {
"build": "node scripts/build-desktop.mjs",
"build:watch": "node scripts/build-desktop.mjs --watch",
"check": "tsc --noEmit -p tsconfig.json",
"start": "npm run build && electron .",
"dev": "npm run start",
"electron": "electron .",
"backend": "node scripts/run-backend.js",
"db:up": "docker compose up -d",
"db:down": "docker compose down",
"db:logs": "docker compose logs -f postgres",
"backend:setup": "node scripts/setup-backend.mjs",
"backend:lock": "node scripts/lock-backend.mjs",
"backend:package": "node scripts/package-backend.mjs",
"package:win": "npm run build && npm run backend:package && electron-builder --win dir --x64 --publish never",
"test": "node scripts/python.mjs -m pytest",
"test:fast": "node scripts/python.mjs -m pytest -m \"not db\"",
"hub": "node scripts/python.mjs server/main.py",
"hub:build": "vite build --config vite.console.config.ts",
"hub:dev": "vite --config vite.console.config.ts"
},
"devDependencies": {
"@types/node": "^22.20.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.1",
"electron": "^33.2.0",
"electron-builder": "^26.15.3",
"esbuild": "^0.28.2",
"typescript": "^7.0.2",
"vite": "^8.3.0"
},
"dependencies": {
"lucide-react": "^1.47.0",
"react": "^19.3.0",
"react-dom": "^19.3.0"
},
"author": "qiekj",
"build": {
"appId": "com.qiekj.ai-prospecting-assistant",
"productName": "橘子拓客",
"directories": {
"output": "release"
},
"files": [
"dist/main.cjs",
"dist/preload.cjs",
"dist/main.cjs.map",
"dist/preload.cjs.map",
"dist/renderer/**/*",
"dist/brand/**/*",
"dist/env.example",
"package.json"
],
"asar": true,
"win": {
"icon": "resources/brand/app-icon.ico",
"target": [
"dir"
],
"signExecutable": false
},
"mac": {
"icon": "resources/brand/app-icon.icns"
},
"linux": {
"icon": "resources/brand/app-icon.png"
},
"extraResources": [
{
"from": "native/release/school-assistant-backend",
"to": "backend",
"filter": [
"**/*"
]
},
{
"from": "knowledge",
"to": "knowledge",
"filter": [
"*.yaml"
]
}
]
}
}