-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 3.09 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 3.09 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "opptrix",
"private": true,
"description": "Opptrix — 面向个人投资者的多市场投研数据助手(Web + Electron 桌面端)",
"homepage": "https://www.opptrix.org",
"license": "Apache-2.0",
"author": "Opptrix contributors",
"repository": {
"type": "git",
"url": "git+https://github.com/Travisun/Opptrix.git"
},
"bugs": {
"url": "https://github.com/Travisun/Opptrix/issues"
},
"keywords": [
"opptrix",
"investment-research",
"stock",
"a-share",
"agent",
"electron",
"fastify",
"react"
],
"workspaces": [
"packages/*",
"apps/*",
"client-ui"
],
"scripts": {
"dev": "node scripts/dev-with-ports.mjs",
"dev:desktop": "npm run build:packages && npm run dev -w @opptrix/desktop",
"dev:api": "npm run dev -w @opptrix/server",
"dev:web": "npm run dev -w opptrix-client",
"build": "npm run build:packages && npm run build -w opptrix-client",
"build:desktop": "npm run build -w @opptrix/desktop",
"build:packages": "node scripts/ensure-dev-deps.mjs && npm run build -w @opptrix/shared -w @opptrix/user-store -w @opptrix/local-inference -w @opptrix/market-data-core -w @opptrix/a-stock-layer -w @opptrix/news-feed -w @opptrix/article-enrichment -w @opptrix/provider-sdk -w @opptrix/market-data-providers-cn -w @opptrix/market-data-providers-us -w @opptrix/market-data-providers-crypto -w @opptrix/stock-eval -w @opptrix/market-data-store -w @opptrix/institutions -w @opptrix/t-strategy -w @opptrix/skills -w @opptrix/research-hub -w @opptrix/agent -w @opptrix/search-hub -w @opptrix/server",
"typecheck:ui": "tsc -p client-ui/tsconfig.json --noEmit",
"lint:ui": "eslint client-ui/src --max-warnings 9999 --quiet",
"audit:ui": "node scripts/audit-client-ui-react.mjs",
"check:ui": "node scripts/check-client-ui.mjs",
"release:notes": "node scripts/assemble-release-notes.mjs",
"start": "npm run start -w @opptrix/server",
"serve": "concurrently -k -n api,web -c blue,cyan \"npm run start\" \"npm run preview -w opptrix-client -- --host 0.0.0.0\"",
"clean": "find packages apps -name dist -type d -prune -exec rm -rf {} + 2>/dev/null; find packages apps -name tsconfig.tsbuildinfo -delete 2>/dev/null; rm -rf client-ui/dist",
"test": "npm run build:packages && node scripts/run-tests.mjs",
"test:ci": "node scripts/run-tests.mjs",
"test:live-network": "OPPTRIX_LIVE_NETWORK_TESTS=1 node scripts/run-tests.mjs"
},
"engines": {
"node": ">=24"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/node": "^24.13.0",
"concurrently": "^9.1.2",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.2"
},
"dependencies": {
"apache-arrow": "^21.1.0"
},
"overrides": {
"tar": "^7.5.20",
"node-gyp": "^12.4.0"
},
"allowScripts": {
"better-sqlite3": true,
"duckdb": true,
"electron": true,
"electron-winstaller": true,
"esbuild": true,
"ffmpeg-static": true,
"node-llama-cpp": true,
"fsevents": true
}
}