-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
209 lines (209 loc) · 10.2 KB
/
package.json
File metadata and controls
209 lines (209 loc) · 10.2 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{
"name": "agentifui",
"version": "0.2.0",
"private": true,
"packageManager": "pnpm@10.14.0",
"scripts": {
"dev": "NEXT_DIST_DIR=.next-dev AGENTIF_ENV_FILE=.env.dev bash scripts/with-env-local.sh cross-env NODE_OPTIONS=--inspect next dev",
"dev:web": "NEXT_DIST_DIR=.next-dev AGENTIF_ENV_FILE=.env.dev bash scripts/with-env-local.sh next dev",
"dev:clean": "NEXT_DIST_DIR=.next-dev AGENTIF_ENV_FILE=.env.dev bash scripts/with-env-local.sh next dev",
"dev:api": "AGENTIF_ENV_FILE=.env.dev bash scripts/with-env-local.sh pnpm --filter @agentifui/api dev",
"dev:all": "concurrently -k -n web,api -c cyan,magenta \"pnpm dev:web\" \"pnpm dev:api\"",
"dev:turbo": "NEXT_DIST_DIR=.next-dev AGENTIF_ENV_FILE=.env.dev bash scripts/with-env-local.sh next dev --turbopack",
"build": "NODE_ENV=production next build",
"build:check": "NEXT_DIST_DIR=.next-build AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh next build",
"build:check:all": "pnpm build:check && pnpm build:shared && pnpm build:api",
"build:api": "pnpm --filter @agentifui/api build",
"build:shared": "pnpm --filter @agentifui/shared build",
"build:all": "pnpm build && pnpm build:shared && pnpm build:api",
"build:prod": "AGENTIF_ENV_FILE=.env.prod AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh pnpm build:all",
"build:standalone": "NODE_ENV=production NEXT_OUTPUT_MODE=standalone next build",
"analyze": "ANALYZE=true NEXT_DIST_DIR=.next-build AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh next build",
"start": "AGENTIF_ENV_FILE=.env.dev AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh next start",
"start:build-check": "NEXT_DIST_DIR=.next-build AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh next start --hostname 127.0.0.1 --port 3200",
"start:api": "AGENTIF_ENV_FILE=.env.dev AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh pnpm --filter @agentifui/api start",
"start:prod": "AGENTIF_ENV_FILE=.env.prod AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh next start",
"start:prod:api": "AGENTIF_ENV_FILE=.env.prod AGENTIF_FORCE_NODE_ENV=production bash scripts/with-env-local.sh pnpm --filter @agentifui/api start",
"start:standalone": "pnpm build:standalone && [ -d .next/static ] && cp -r .next/static .next/standalone/.next/static || echo 'No static files to copy' && [ -d public ] && cp -r public .next/standalone/public || echo 'No public directory found' && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js",
"lint": "pnpx oxlint && eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache .",
"lint:files": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache",
"lint:fast": "pnpx oxlint",
"lint:eslint": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache .",
"lint:errors": "pnpx oxlint && eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache . --quiet",
"lint:complexity": "eslint --rule 'complexity: [error, {max: 15}]' --quiet .",
"fix": "next lint --fix",
"fix:eslint": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache . --fix",
"fix:eslint:quiet": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache . --fix --quiet",
"lint:claude": "claude -p 'you are a linter. please look at the changes vs. main and report any issues related to typos. report the filename and line number on one line, and a description of the issue on the second line. do not return any other text.'",
"format": "prettier --write .",
"format:files": "prettier --write",
"format:check": "prettier --check .",
"format:staged": "lint-staged",
"prepare": "node -e \"if (process.env.NODE_ENV === 'production' || process.env.CI){process.exit(0)} else {process.exit(1)}\" || husky",
"preinstall": "npx only-allow pnpm",
"type-check": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"m3:crud:verify": "jest --runInBand __tests__/db/m3-managed-crud-repository.test.ts",
"m9:gap:local-state:verify": "pnpm -s exec jest --runInBand lib/stores/ui/file-preview-cache-store.test.ts",
"m9:gap:translations:verify": "pnpm -s exec jest --runInBand __tests__/i18n/fallback.test.ts",
"gate:single-path-internal-data:verify": "node scripts/check-single-path-internal-data.mjs",
"gate:route-contract-parity:verify": "node scripts/check-route-contract-parity.mjs",
"gate:quality:verify": "bash scripts/gate-quality-verify.sh",
"guard:client-db-imports": "node scripts/check-client-db-imports.mjs",
"guard:rls-strict-consistency": "node scripts/check-rls-strict-consistency.mjs",
"guard:single-path-internal-data": "node scripts/check-single-path-internal-data.mjs",
"guard:route-contract-parity": "node scripts/check-route-contract-parity.mjs",
"guard:next-business-boundary": "node scripts/check-next-business-boundary.mjs",
"guard:fastify-proxy-prefixes": "node scripts/check-fastify-proxy-prefixes.mjs",
"guard:fastify-error-envelope": "node scripts/check-fastify-error-envelope.mjs",
"guard:no-raw-pg-in-api": "node scripts/check-no-raw-pg-in-api.mjs",
"guard:next-error-envelope": "node scripts/check-next-error-envelope.mjs",
"i18n:check": "node scripts/check-locale-consistency.mjs",
"i18n:validate": "node scripts/check-locale-consistency.mjs",
"content:check": "node scripts/check-content-pages.mjs",
"i18n:detect": "python3 scripts/i18n-refactor-helper.py detect-missing",
"i18n:compare": "python3 scripts/i18n-refactor-helper.py compare",
"i18n:compare:details": "python3 scripts/i18n-refactor-helper.py compare --details",
"i18n:remove-extra": "python3 scripts/i18n-refactor-helper.py remove-extra",
"i18n:remove-extra:dry": "python3 scripts/i18n-refactor-helper.py remove-extra --dry",
"i18n:translate": "node scripts/auto-gen-i18n.js",
"i18n:translate:dry": "node scripts/auto-gen-i18n.js --dry-run",
"i18n:translate:help": "node scripts/auto-gen-i18n.js --help",
"pm2:prod:start": "pm2 start ecosystem.prod.config.js --update-env",
"pm2:prod:restart": "pm2 startOrRestart ecosystem.prod.config.js --update-env",
"pm2:prod:stop": "pm2 stop AgentifUI-Prod AgentifUI-API-Prod || true",
"pm2:prod:delete": "pm2 delete AgentifUI-Prod AgentifUI-API-Prod || true",
"smoke:prod": "bash scripts/smoke-prod.sh",
"deploy": "bash scripts/deploy-prod.sh",
"deploy:standalone:legacy": "pnpm build:standalone && pm2 startOrRestart ecosystem.config.js --only AgentifUI-Standalone --update-env || { echo 'Deploy failed'; exit 1; }",
"deploy:legacy": "pnpm build && pm2 startOrRestart ecosystem.config.js --only AgentifUI --update-env || { echo 'Deploy failed'; exit 1; }",
"fastify:cutover:on": "bash scripts/fastify-cutover-on.sh",
"fastify:cutover:off": "bash scripts/fastify-cutover-off.sh"
},
"pnpm": {
"ignoredBuiltDependencies": [
"@tailwindcss/oxide",
"bufferutil",
"sharp",
"unrs-resolver",
"utf-8-validate"
],
"overrides": {
"@eslint/plugin-kit": "^0.3.3",
"js-yaml": ">=4.1.1",
"mdast-util-to-hast": ">=13.2.1",
"undici": "7.24.0",
"fast-xml-parser": "5.5.6",
"node-forge": "1.4.0"
}
},
"knip": {
"ignore": [
"output/**",
"ecosystem.config.js"
],
"ignoreDependencies": [
"bufferutil",
"utf-8-validate",
"eslint-config-next"
],
"ignoreBinaries": [
"claude",
"only-allow",
"python3",
"pm2"
]
},
"dependencies": {
"@better-auth/sso": "^1.4.18",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@heroicons/react": "^2.2.0",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-select": "^2.2.5",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-switch": "^1.2.5",
"@types/prismjs": "^1.26.5",
"@types/uuid": "^10.0.0",
"better-auth": "^1.4.18",
"bufferutil": "^4.0.9",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dotenv": "^16.6.1",
"drizzle-orm": "^0.45.1",
"framer-motion": "^11.18.2",
"katex": "^0.16.22",
"kysely": "^0.28.15",
"lodash": "^4.17.21",
"lucide-react": "^0.513.0",
"next": "15.4.11",
"next-intl": "^4.3.4",
"next-themes": "^0.4.6",
"nodemailer": "^7.0.13",
"pg": "^8.18.0",
"prismjs": "^1.30.0",
"react": "^19.1.4",
"react-dom": "^19.1.4",
"react-easy-crop": "^5.5.0",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
"redis": "^5.10.0",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"sonner": "^2.0.6",
"tailwind-merge": "^2.6.0",
"utf-8-validate": "^6.0.5",
"uuid": "^11.1.0",
"zustand": "^5.0.7"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/eslintrc": "^3.3.1",
"@next/bundle-analyzer": "15.4.11",
"@tailwindcss/postcss": "^4.1.11",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"@types/node": "^22.17.0",
"@types/nodemailer": "^7.0.9",
"@types/pg": "^8.16.0",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"babel-jest": "^30.2.0",
"concurrently": "^9.2.1",
"cross-env": "^10.0.0",
"eslint": "^9.32.0",
"eslint-config-next": "15.4.11",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"lint-staged": "^16.1.2",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"tailwind-scrollbar": "^4.0.2",
"tailwindcss": "^4.1.11",
"typescript": "^5.8.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,css,scss,yaml,yml}": [
"prettier --write"
],
"**/*.js?(x)": [
"eslint --fix"
],
"**/*.ts?(x)": [
"eslint --fix"
]
}
}