-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
338 lines (338 loc) · 14.2 KB
/
package.json
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
{
"name": "jetstream",
"description": "The Jetstream platform makes managing your Salesforce instances a breeze. Use Jetstream to work with your data and metadata to get your work done faster.",
"repository": {
"type": "git",
"url": "https://github.com/jetstreamapp/jetstream"
},
"author": "Jetstream",
"version": "4.17.0",
"license": "GNU Lesser General Public License v3.0",
"engines": {
"node": ">=20 <22",
"yarn": ">=1.22 <2"
},
"scripts": {
"init:project": "zx ./scripts/init-project.mjs",
"nx": "nx",
"start": "nx serve",
"start:api": "nx serve api",
"start:worker": "nx serve jetstream-worker",
"start:landing": "nx dev landing",
"start:docs": "cd apps/docs && yarn start",
"start:ui:storybook": "nx run ui:storybook",
"start:prod": "NODE_ENV=production node dist/apps/api/main.js",
"start:staging": "NODE_ENV=production node dist/apps/api/main.js",
"start:e2e": "node dist/apps/api/main.js",
"start:web-extension": "nx run jetstream-web-extension:serve",
"start:cron:inactive-account-warning": "node dist/apps/cron-tasks/inactive-account-warning.js",
"start:cron:inactive-account-deletion": "node dist/apps/cron-tasks/inactive-account-deletion.js",
"start:cron:save-analytics-summary": "node dist/apps/cron-tasks/save-analytics-summary.js",
"build": "cross-env NODE_ENV=production npm-run-all db:generate build:core build:landing generate:version",
"build:pre-deploy": "cross-env NODE_ENV=production npm-run-all --parallel rollbar:upload-sourcemaps db:migrate",
"build:core": "NODE_OPTIONS=--max_old_space_size=8192 nx run-many --target=build --parallel=3 --projects=jetstream,api,download-zip-sw --configuration=production",
"build:ci": "npx nx run-many --target=build --parallel=3 --projects=jetstream,api,download-zip-sw,landing,jetstream-web-extension --configuration=production",
"build:affected": "nx affected --target=build --parallel=3 --configuration=production",
"build:docker": "cross-env NODE_ENV=production npm-run-all db:generate build:client:docker build:api:docker build:sw build:landing generate:version",
"build:test": "npm-run-all db:generate build:client:test build:api:test build:sw build:landing generate:version",
"build:client": "nx build jetstream --prod",
"build:client:docker": "nx build jetstream --configuration=docker",
"build:client:stats": "nx build jetstream --prod --statsJson",
"build:client:test": "nx build jetstream --configuration=test --verbose",
"build:ui": "nx build ui --configuration=docker",
"build:ui:test": "nx build ui --configuration=test",
"build:api": "nx build api --prod",
"build:api:docker": "nx build api --configuration=docker",
"build:cron": "yarn db:generate && nx build cron-tasks --prod && yarn generate:version",
"build:api:test": "nx build api --configuration=test",
"build:sw": "nx build download-zip-sw --prod",
"build:landing": "cross-env NODE_ENV=production nx run landing:build --skip-nx-cache && yarn build:landing:sitemap",
"build:landing:sitemap": "next-sitemap",
"build:docs": "cd apps/docs && yarn build",
"build:storybook": "storybook build -c libs/ui/.storybook -o dist/storybook -s node_modules/@salesforce-ux/design-system/assets/styles",
"build:web-extension:dev": "nx run jetstream-web-extension:build --configuration=development",
"build:web-extension": "nx run jetstream-web-extension:build",
"scripts:replace-deps": "node ./scripts/replace-package-deps.mjs",
"release": "dotenv -- release-it -V ${0}",
"release:build": "zx ./scripts/build-release.mjs",
"release:web-extension": "dotenv -- release-it --config .release-it-web-ext.json",
"bundle-analyzer:client": "npx webpack-bundle-analyzer dist/apps/jetstream/stats.json",
"docs:index": "docker run -it -e APPLICATION_ID=21D7I5RB7N -e API_KEY=$ALGOLIA_API_KEY -e \"CONFIG=$(cat ./apps/docs/algolia-config.json | jq -r tostring)\" algolia/docsearch-scraper",
"rollbar:upload-sourcemaps": "yarn generate:version && nx ./scripts/upload-source-maps.mjs",
"rollbar:create-deploy": "yarn generate:version && zx ./scripts/generate-rollbar-deploy.mjs",
"generate:data-table-css": "nx workspace-generator convert-sass-to-css ui --filename /src/lib/data-table/data-table-styles.scss",
"generate:version": "zx ./scripts/generate-version.mjs",
"db:generate": "prisma generate",
"db:migrate": "npx --yes prisma migrate deploy",
"db:seed": "chmod +x prisma/seed.sh && npx --yes prisma db seed",
"icons:build": "npm-run-all icons:build:* && npx prettier --loglevel error --write \"libs/icon-factory/src/lib/icons/**/*.{tsx}\"",
"icons:build:action": "npx @svgr/cli@5.5.0 --config-file .svgo-config.json -d ./libs/icon-factory/src/lib/icons/action ./node_modules/@salesforce-ux/design-system/assets/icons/action",
"icons:build:custom": "npx @svgr/cli@5.5.0 --config-file .svgo-config.json -d ./libs/icon-factory/src/lib/icons/custom ./node_modules/@salesforce-ux/design-system/assets/icons/custom",
"icons:build:doctype": "npx @svgr/cli@5.5.0 --config-file .svgo-config.json -d ./libs/icon-factory/src/lib/icons/doctype ./node_modules/@salesforce-ux/design-system/assets/icons/doctype",
"icons:build:standard": "npx @svgr/cli@5.5.0 --config-file .svgo-config.json -d ./libs/icon-factory/src/lib/icons/standard ./node_modules/@salesforce-ux/design-system/assets/icons/standard",
"icons:build:utility": "npx @svgr/cli@5.5.0 --config-file .svgo-config.json -d ./libs/icon-factory/src/lib/icons/utility ./node_modules/@salesforce-ux/design-system/assets/icons/utility",
"test": "nx test",
"test:affected": "TZ=UTC nx affected -t test --output-style=stream",
"test:all": "TZ=UTC nx run-many -t test --output-style=stream --skip-nx-cache",
"lint": "nx workspace-lint && nx lint",
"e2e": "nx e2e",
"playwright:open": "yarn playwright open http://localhost:4200/app",
"playwright:test:with-server": "yarn start-server-and-test --expect 200 'yarn start:e2e' http://localhost:3333 'yarn playwright:test'",
"playwright:test": "yarn playwright test src --config apps/jetstream-e2e/playwright.config.ts",
"playwright:test:query-results": "yarn playwright test query-results.spec.ts --config apps/jetstream-e2e/playwright.config.ts --headed",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
"update": "nx migrate latest",
"dep-graph": "nx dep-graph"
},
"private": true,
"prisma": {
"seed": "node prisma/seed-salesforce-api.mjs"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@contentful/rich-text-react-renderer": "^15.12.1",
"@emotion/babel-plugin": "11.11.0",
"@nx/devkit": "19.6.5",
"@nx/esbuild": "19.6.5",
"@nx/eslint": "19.6.5",
"@nx/eslint-plugin": "19.6.5",
"@nx/express": "19.6.5",
"@nx/jest": "19.6.5",
"@nx/js": "19.6.5",
"@nx/next": "19.6.5",
"@nx/node": "19.6.5",
"@nx/playwright": "19.6.5",
"@nx/plugin": "19.6.5",
"@nx/react": "19.6.5",
"@nx/storybook": "19.6.5",
"@nx/vite": "19.6.5",
"@nx/web": "19.6.5",
"@nx/webpack": "19.6.5",
"@nx/workspace": "19.6.5",
"@playwright/test": "^1.48.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@release-it/bumper": "^6.0.1",
"@salesforce-ux/design-system": "^2.25.1",
"@storybook/addon-essentials": "8.2.9",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/core-server": "8.2.9",
"@storybook/react": "8.2.9",
"@svgr/webpack": "8.0.1",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.14",
"@swc/core": "1.5.7",
"@tailwindcss/aspect-ratio": "^0.4.0",
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/typography": "^0.5.4",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "15.0.6",
"@testing-library/user-event": "^13.0.7",
"@types/amplitude-js": "^8.16.5",
"@types/chrome": "^0.0.268",
"@types/connect-pg-simple": "^4.2.2",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-session": "^1.17.0",
"@types/file-saver": "^2.0.1",
"@types/fs-extra": "^9.0.6",
"@types/gapi.auth2": "^0.0.60",
"@types/gapi.client.drive": "^3.0.15",
"@types/google.accounts": "^0.0.2",
"@types/google.picker": "^0.0.42",
"@types/jest": "29.5.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash": "^4.17.0",
"@types/multer": "^1.4.11",
"@types/node": "^20.12.7",
"@types/numeral": "^2.0.5",
"@types/papaparse": "^5.3.14",
"@types/passport": "^1.0.4",
"@types/passport-auth0": "^1.0.4",
"@types/passport-local": "^1.0.34",
"@types/pg": "^8.11.5",
"@types/quill": "^1.3.10",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"@types/react-router-dom": "5.3.3",
"@types/react-transition-group": "^4.4.9",
"@types/sass": "^1.45.0",
"@types/webpack": "4.41.21",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.5.2",
"@vitest/ui": "1.5.2",
"autoprefixer": "10.4.13",
"babel-jest": "29.7.0",
"babel-loader": "^9.1.3",
"chrome-types": "^0.1.291",
"chrome-webstore-upload-cli": "^3.3.0",
"concurrently": "^7.2.1",
"contentful": "^8.1.8",
"cross-env": "^7.0.3",
"css-loader": "^6.4.0",
"dotenv-cli": "^7.0.0",
"esbuild": "^0.19.2",
"eslint": "8.57.0",
"eslint-config-next": "14.2.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-playwright": "^0.15.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"git-revision-webpack-plugin": "^5.0.0",
"html-webpack-plugin": "^5.6.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-node": "^29.4.1",
"jsdom": "22.1.0",
"jsonc-eslint-parser": "^2.1.0",
"next-sitemap": "^4.2.3",
"npm-run-all": "^4.1.5",
"nx": "19.6.5",
"postcss": "8.4.38",
"postcss-preset-env": "7",
"prettier": "2.7.0",
"prisma": "^5.9.1",
"react-refresh": "^0.10.0",
"release-it": "^17.10.0",
"sass": "^1.75.0",
"sass-loader": "^10.0.4",
"start-server-and-test": "^1.15.2",
"storybook": "8.2.9",
"style-loader": "^3.3.0",
"stylus": "0.59.0",
"stylus-loader": "^7.1.0",
"swc-loader": "0.1.15",
"tailwindcss": "3.4.3",
"ts-jest": "29.1.0",
"ts-node": "^10.9.2",
"typescript": "5.5.4",
"url-loader": "^4.1.1",
"vite": "^5.1.4",
"vite-plugin-dts": "~3.8.1",
"vite-plugin-eslint": "^1.8.1",
"vite-tsconfig-paths": "4.2.0",
"vitest": "1.5.2",
"webpack": "5.88.1",
"webpack-merge": "^5.8.0",
"worker-loader": "^2.0.0",
"zx": "^7.2.3"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@fullhuman/postcss-purgecss": "^2.2.0",
"@grpc/grpc-js": "^1.10.6",
"@headlessui/react": "^1.7.19",
"@heroicons/react": "^1.0.4",
"@jetstreamapp/soql-parser-js": "^6.1.0",
"@mdx-js/react": "^1.6.21",
"@monaco-editor/react": "^4.6.0",
"@opentelemetry/api": "^1.8.0",
"@opentelemetry/auto-instrumentations-node": "^0.45.0",
"@opentelemetry/exporter-trace-otlp-grpc": "^0.51.0",
"@opentelemetry/sdk-node": "^0.51.0",
"@popperjs/core": "^2.11.8",
"@prisma/client": "^5.9.1",
"@react-aria/dialog": "^3.5.12",
"@react-aria/focus": "^3.16.2",
"@react-aria/overlays": "^3.21.1",
"@storybook/addon-interactions": "^8.2.8",
"@swc/helpers": "0.5.11",
"@tanstack/react-virtual": "^3.4.0",
"@tippyjs/react": "^4.2.6",
"@types/uuid": "^9.0.8",
"amplitude-js": "^8.21.9",
"axios": "^1.6.8",
"body-parser": "^1.20.3",
"classnames": "^2.5.1",
"cloudinary": "^1.26.3",
"cometd": "^7.0.13",
"cometd-nodejs-client": "^1.3.0",
"connect-pg-simple": "^9.0.1",
"consolidated-events": "^2.0.2",
"copy-to-clipboard": "^3.3.3",
"core-js": "3.36.1",
"cors": "^2.8.5",
"date-fns": "^3.6.0",
"dependency-graph": "^1.0.0",
"document.contains": "^1.0.2",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"express-http-proxy": "^1.6.2",
"express-promise-router": "^4.1.1",
"express-session": "^1.18.1",
"fastify": "^3.29.4",
"file-saver": "^2.0.5",
"filesize": "^10.1.1",
"find-my-way": "^4.3.3",
"fluent-json-schema": "^3.0.1",
"form-data": "^4.0.0",
"formulon": "^6.25.2",
"fs-extra": "^9.0.1",
"fuse.js": "^7.0.0",
"helmet": "^4.1.1",
"jsonwebtoken": "^9.0.2",
"jszip": "^3.10.1",
"jwks-rsa": "^3.1.0",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"mailgun.js": "^8.2.1",
"monaco-editor": "^0.48.0",
"multer": "^1.4.5-lts.1",
"nanoid": "^3.1.20",
"next": "14.2.3",
"next-images": "^1.4.0",
"numeral": "^2.0.6",
"openid-client": "^5.6.5",
"papaparse": "^5.4.1",
"passport": "^0.6.0",
"passport-auth0": "^1.4.3",
"passport-custom": "^1.1.1",
"passport-local": "^1.0.0",
"pg": "^8.11.5",
"pg-boss": "^6.2.2",
"pino": "^8.19.0",
"pino-http": "^9.0.0",
"pino-pretty": "^10.3.1",
"postcss-import": "^12.0.1",
"prettier-plugin-prisma": "^3.1.1",
"quill": "^1.3.7",
"quill-delta": "^3.6.3",
"react": "18.3.1",
"react-data-grid": "7.0.0-beta.41",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "18.3.1",
"react-error-boundary": "^3.1.3",
"react-modal-promise": "^1.0.2",
"react-popper": "^2.3.0",
"react-resize-detector": "^10.0.1",
"react-router-dom": "6.11.2",
"react-split": "^2.0.14",
"react-use-clipboard": "^1.0.9",
"recoil": "^0.7.7",
"regenerator-runtime": "0.13.7",
"rollbar": "^2.26.4",
"rxjs": "^7.8.1",
"slack-notify": "^0.1.7",
"socket.io": "^4.2.0",
"socket.io-client": "^4.2.0",
"split.js": "^1.6.5",
"tiny-request-router": "^1.2.2",
"tslib": "^2.3.0",
"uuid": "^9.0.1",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
"xmlbuilder2": "^3.1.1",
"zod": "^3.23.4"
}
}