forked from FlowiseAI/Flowise
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
218 lines (218 loc) · 8.68 KB
/
package.json
File metadata and controls
218 lines (218 loc) · 8.68 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
210
211
212
213
214
215
216
217
218
{
"name": "theanswer",
"version": "3.0.11",
"private": true,
"homepage": "https://theanswer.ai",
"workspaces": [
"packages/*",
"flowise",
"ui",
"components",
"api-documentation",
"packages-answers/*",
"apps/web",
"apps/desktop"
],
"scripts": {
"build": "pnpm secure-run \"turbo run build\"",
"build-force": "pnpm clean && turbo run build --force",
"dev": "pnpm secure-run \"turbo run dev dev-docker\"",
"dev-docker": "docker compose -f \"./docker-compose.dev.yml\" up -d",
"start": "pnpm secure-run \"npx turbo run start\"",
"start:windows": "cd packages/server/bin && run start",
"start:default": "cd packages/server/bin && ./run start",
"start-worker": "run-script-os",
"start-worker:windows": "cd packages/server/bin && run worker",
"start-worker:default": "cd packages/server/bin && ./run worker",
"user": "run-script-os",
"user:windows": "cd packages/server/bin && run user",
"user:default": "cd packages/server/bin && ./run user",
"test": "turbo run test",
"clean": "pnpm --filter \"./packages/**\" clean",
"nuke": "pnpm --filter \"./packages/**\" nuke && rimraf node_modules .turbo",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "eslint packages packages-answers apps --ext .js,.jsx,.ts,.tsx --ignore-pattern \"packages/embed/**\"",
"lint-fix": "pnpm lint --fix",
"quick": "pretty-quick --staged",
"postinstall": "sh ./scripts/bws-secure/bws-installer.sh && husky install",
"migration:generate": "turbo typeorm:migration-generate",
"migration:run": "pnpm secure-run \"turbo typeorm:migration-run\"",
"migration:show": "pnpm secure-run \"turbo typeorm:migration-show\"",
"db": "pnpm secure-run \"pnpm --filter db prisma\"",
"db:healthcheck": "pnpm secure-run \"wait-on tcp:localhost:5432\"",
"db:migrate": "pnpm secure-run \"pnpm db migrate dev\"",
"db:deploy": "pnpm secure-run \"pnpm db migrate deploy\"",
"db:reset": "pnpm secure-run \"pnpm db migrate reset\"",
"db:run:script": "pnpm secure-run \"pnpm --filter db run:script\"",
"db:studio": "pnpm secure-run \"pnpm db studio\"",
"db:seed": "pnpm secure-run \"pnpm db db seed\"",
"test:e2e:setup": "pnpm --filter web test:e2e:setup",
"test:e2e:check": "pnpm --filter web test:e2e:check",
"test:e2e": "pnpm --filter web test:e2e:dev",
"test:e2e:dev": "pnpm --filter web test:e2e:dev",
"test:e2e:debug": "pnpm --filter web test:e2e:debug",
"test:e2e:cypress": "pnpm cypress run",
"test:cmp": "pnpm cypress run --component",
"test:chatflows": "pnpm secure-run \"node ./scripts/testing-chatflows/testingChatflows.js\"",
"logs": "docker compose logs -f",
"dev-inngest": "npx inngest-cli@latest dev -u http://localhost:3001/api/inngest --no-discovery > /dev/null 2>&1",
"scripts:generateCsv": "pnpm secure-run \"ts-node ./packages-answers/scripts/generateCsv.ts\"",
"scripts:initCsvRun": "pnpm secure-run \"ts-node ./packages-answers/scripts/initCsvRun.ts\"",
"sync-docs": "npx tsx scripts/sync-docs-to-docstore.ts",
"secure-run": "node ./scripts/bws-secure/secureRun.js",
"list-projects": "node ./scripts/bws-secure/list-projects.js",
"bws-deps": "[ -d node_modules/dotenv ] && [ -d node_modules/dotenv-cli ] && [ -f node_modules/.bin/bws ] || npm install",
"bws-update": "rm -rf scripts/bws-secure && git clone git@github.com:last-rev-llc/bws-secure.git scripts/bws-secure && rm -rf scripts/bws-secure/.git && bash scripts/bws-secure/install.sh",
"seed-credentials": "pnpm secure-run \"node ./scripts/seed-credentials/seed-credentials.js --test --auto-detect\"",
"seed-credentials:write": "pnpm secure-run \"node ./scripts/seed-credentials/seed-credentials.js --auto-detect\"",
"export-auth0-users": "pnpm secure-run \"node ./scripts/export-auth0-users.js\"",
"submodule:init": "git submodule update --init --recursive --force",
"submodule:reset": "git submodule deinit -f --all && git submodule update --init --recursive",
"precopilot": "pnpm secure-run sh copilot/scripts/copilot-switch-app.sh && sleep 1",
"copilot": "pnpm secure-run copilot",
"copilot:auto": "bash ./copilot/scripts/copilot-auto-deploy.sh"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"devDependencies": {
"@babel/preset-env": "^7.29.0",
"@babel/preset-typescript": "7.21.4",
"@cypress/react18": "^2.0.1",
"@types/express": "^4.17.25",
"@types/jsdom": "^21.1.7",
"@types/node-cron": "^3.0.11",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/typescript-estree": "^7.18.0",
"axios": "^1.13.5",
"cursor-tools": "latest",
"cypress": "^13.17.0",
"dotenv": "^17.2.4",
"dotenv-cli": "^11.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.2",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-solid": "0.12.0",
"eslint-plugin-unused-imports": "^2.0.0",
"glob": "^13.0.6",
"husky": "^8.0.3",
"jsdom": "^24.1.3",
"knip": "^5.83.1",
"lint-staged": "^15.5.2",
"prettier": "^2.8.8",
"pretty-quick": "^3.3.1",
"rimraf": "^6.1.2",
"run-script-os": "^1.1.6",
"tsx": "^4.21.0",
"turbo": "1.10.16",
"typescript": "~5.5.4",
"xml2js": "^0.6.2",
"yargs": "^18.0.0"
},
"dependencies": {
"node-cron": "^3.0.3",
"wait-on": "^7.2.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"@parcel/watcher",
"@prisma/client",
"@prisma/engines",
"@swc/core",
"aws-crt",
"bufferutil",
"cypress",
"esbuild",
"faiss-node",
"prisma",
"puppeteer",
"sharp",
"sqlite3",
"utf-8-validate"
],
"overrides": {
"@opentelemetry/sdk-trace-base": "1.27.0",
"body-parser": "2.0.2",
"braces": "3.0.3",
"cookie": ">=0.7.0",
"cross-spawn": "7.0.6",
"ejs": "^3.1.10",
"esbuild": ">=0.25.0",
"@types/express": "^4.17.25",
"@types/express-serve-static-core": "^4.19.8",
"express": ">=4.19.2 <5.0.0",
"form-data": "4.0.4",
"glob-parent": "6.0.2",
"http-proxy-middleware": ">=3.0.5",
"jsforce": "^3.10.0",
"json5": "2.2.3",
"micromatch": ">=4.0.8",
"nth-check": "2.1.1",
"path-to-regexp": "0.1.12",
"prismjs": "1.29.0",
"rollup": "4.59.0",
"semver": "7.7.1",
"send": ">=0.19.0 <1.0.0",
"serve-static": ">=1.16.0",
"set-value": "4.1.0",
"sha.js": ">=2.4.12",
"tmp": "^0.2.4",
"tough-cookie": ">=4.1.3",
"tsup": ">=8.3.5",
"webpack-dev-server": ">=5.2.1",
"solid-js": "1.9.7",
"tar-fs": "3.1.0",
"unset-value": "2.0.1",
"webpack-dev-middleware": "7.4.2",
"ws": "8.18.3",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"mammoth": ">=1.11.0"
}
},
"engines": {
"node": ">=18.15.0 <19.0.0 || ^20",
"pnpm": ">=9"
},
"resolutions": {
"@google/generative-ai": "^0.24.0",
"@grpc/grpc-js": "^1.10.10",
"@langchain/core": "0.3.61",
"@qdrant/openapi-typescript-fetch": "1.2.6",
"openai": "4.96.0",
"protobufjs": "7.4.0"
},
"eslintIgnore": [
"**/dist",
"**/node_modules",
"**/build",
"**/package-lock.json",
"packages/embed/**"
],
"prettier": {
"printWidth": 140,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none",
"tabWidth": 4,
"semi": false,
"endOfLine": "auto"
},
"babel": {
"presets": [
"@babel/preset-typescript",
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}