-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 4.21 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 4.21 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "opensin-chat",
"version": "1.14.0",
"description": "OpenSIN Chat — sovereign, self-hosted AI workspace for political research, knowledge management, and document analysis. Zero telemetry, German-optimized.",
"main": "index.js",
"type": "module",
"author": "OpenSIN-AI",
"contributors": [
{
"name": "Mintplex Labs Inc.",
"email": "team@mintplexlabs.com",
"url": "https://github.com/Mintplex-Labs/anything-llm",
"role": "Original Upstream Author (AnythingLLM)"
},
{
"name": "Timothy Carambat",
"url": "https://github.com/TimothyCarambat",
"role": "Original Creator of AnythingLLM"
}
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/OpenSIN-AI"
},
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/OpenSIN-AI/OpenSIN-Chat.git"
},
"bugs": {
"url": "https://github.com/OpenSIN-AI/OpenSIN-Chat/issues"
},
"homepage": "https://opensin.delqhi.com",
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"dev": "cd frontend && yarn dev",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"spdx:check": "node scripts/spdx-headers.cjs --check",
"spdx:fix": "node scripts/spdx-headers.cjs",
"sbom": "node scripts/generate-sbom.cjs",
"sbom:check": "node scripts/generate-sbom.cjs --check",
"deps:health": "node scripts/dependency-health.cjs --years 2",
"lint": "cd server && yarn lint && cd ../frontend && yarn lint && cd ../collector && yarn lint",
"lint:ci": "cd server && yarn lint:check && cd ../frontend && yarn lint:check && cd ../collector && yarn lint:check",
"setup": "cd server && yarn && cd ../collector && yarn && cd ../frontend && yarn && cd .. && yarn setup:envs && yarn prisma:setup && echo \"Please run yarn dev:server, yarn dev:collector, and yarn dev:frontend in separate terminal tabs.\"",
"setup:envs": "cp -n ./frontend/.env.example ./frontend/.env; cp -n ./server/.env.example ./server/.env.development; cp -n ./collector/.env.example ./collector/.env; cp -n ./docker/.env.example ./docker/.env; echo \"All ENV files copied!\\n\"",
"dev:server": "cd server && yarn dev",
"dev:collector": "cd collector && yarn dev",
"dev:frontend": "cd frontend && yarn dev",
"dev:all": "npx concurrently \"yarn dev:server\" \"yarn dev:frontend\" \"yarn dev:collector\"",
"prisma:generate": "cd server && npx prisma generate",
"prisma:migrate": "cd server && npx prisma migrate dev --name init",
"prisma:seed": "cd server && npx prisma db seed",
"prisma:setup": "yarn prisma:generate && yarn prisma:migrate && yarn prisma:seed",
"prisma:reset": "truncate -s 0 server/storage/openafd.db && yarn prisma:migrate",
"prod:server": "cd server && yarn start",
"prod:frontend": "cd frontend && yarn build",
"translations:verify": "cd frontend/src/locales && node verifyTranslations.mjs",
"translations:normalize": "cd frontend/src/locales && node normalizeEn.mjs && cd ../../.. && cd frontend && yarn lint && cd .. && yarn translations:verify",
"translations:prune": "cd frontend/src/locales && node findUnusedTranslations.mjs --delete && cd ../../../ && yarn translations:normalize",
"translations:create": "cd extras/translator && node index.mjs --all && cd ../../frontend && yarn lint && cd ../.."
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@vitejs/plugin-react": "^6.0.2",
"concurrently": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.6.0",
"jest": "^30.4.2",
"playwright": "^1.60.0",
"rollup-plugin-visualizer": "^7.0.1",
"typescript-eslint": "^8.60.1",
"vite": "^8.1.0",
"vitest": "^4.1.8"
},
"resolutions": {
"js-yaml": ">=4.2.0"
},
"dependencies": {
"check-disk-space": "^3.4.0",
"openai": "^6.44.0",
"slugify": "^1.6.9",
"swr": "^2.4.2",
"uuid": "^14.0.1"
}
}