-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Expand file tree
/
Copy pathpackage.json
More file actions
176 lines (176 loc) · 7.46 KB
/
package.json
File metadata and controls
176 lines (176 loc) · 7.46 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
{
"name": "@novu/api-service",
"version": "3.14.0",
"description": "description",
"author": "",
"private": "true",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "pnpm build:metadata && nest build",
"build:generate": "pnpm build:metadata && nest build && pnpm generate:swagger && pnpm generate:sdk",
"build:watch": "pnpm build:metadata && nest build --watch",
"docker:build": "pnpm --silent --workspace-root pnpm-context -- apps/api/Dockerfile | BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker buildx build --load -t novu-api --secret id=BULL_MQ_PRO_NPM_TOKEN --build-arg PACKAGE_PATH=apps/api - $DOCKER_BUILD_ARGUMENTS",
"docker:build:depot": "pnpm --silent --workspace-root pnpm-context -- apps/api/Dockerfile | depot build --build-arg PACKAGE_PATH=apps/api - -t novu-api --load",
"start": "pnpm start:dev",
"start:dev": "nest start --watch",
"start:test": "cross-env NODE_ENV=test nest start",
"start:debug": "nest start --debug --watch --inspect",
"start:prod": "node dist/main.js",
"build:metadata": "cross-env ts-node scripts/generate-metadata.ts",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"check": "biome check .",
"check:fix": "biome check --write .",
"check:api-property-optionality": "cross-env ts-node --transpileOnly scripts/check-api-property-optionality.ts",
"check:api-property-optionality:json": "cross-env ts-node --transpileOnly scripts/check-api-property-optionality.ts --format json",
"format": "biome format .",
"format:fix": "biome format --write .",
"lint:openapi": "spectral lint http://127.0.0.1:${PORT:-3000}/openapi.yaml",
"pretest": "pnpm build:metadata",
"generate:swagger": "ts-node exportOpenAPIJSON.ts",
"generate:sdk": " (cd ../../libs/internal-sdk && speakeasy run --skip-compile --minimal --skip-versioning) && (cd ../../libs/internal-sdk && pnpm build) ",
"test": "cross-env TS_NODE_PROJECT=tsconfig.spec.json TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test NOVU_ENTERPRISE=true CLERK_ENABLED=true NODE_OPTIONS=--no-experimental-strip-types mocha --timeout 15000 --require ts-node/register --exit 'src/**/*.spec.ts'",
"test:e2e:novu-v0": "cross-env TS_NODE_PROJECT=tsconfig.spec.json NODE_ENV=test NODE_OPTIONS=--no-experimental-strip-types mocha --timeout 15000 --retries 3 --grep '#novu-v0' --require ts-node/register --exit --file e2e/setup.ts src/**/*.e2e{,-ee}.ts",
"test:e2e:novu-v2": "cross-env TS_NODE_PROJECT=tsconfig.spec.json NODE_ENV=test CI_EE_TEST=true CLERK_ENABLED=true NODE_OPTIONS='--max_old_space_size=8192 --no-experimental-strip-types' node scripts/run-novu-v2-e2e-shard.cjs",
"migration": "cross-env NODE_ENV=local MIGRATION=true ts-node --transpileOnly",
"seed:clickhouse": "cross-env NODE_ENV=local ts-node --transpileOnly scripts/seed-clickhouse.ts",
"seed:triggers": "cross-env NODE_ENV=local ts-node --transpileOnly scripts/seed-triggers.ts",
"clickhouse:migrate:local": "clickhouse-migrations migrate --host=http://localhost:8123 --user=default --password= --db=novu-local --migrations-home=./migrations/clickhouse-migrations",
"clickhouse:migrate:prod": "clickhouse-migrations migrate --migrations-home=./migrations/clickhouse-migrations",
"link:submodules": "pnpm link ../../enterprise/packages/auth && pnpm link ../../enterprise/packages/translation && pnpm link ../../enterprise/packages/billing",
"admin:remove-user-account": "cross-env NODE_ENV=local MIGRATION=true ts-node --transpileOnly ./admin/remove-user-account.ts",
"admin:remove-organization": "cross-env NODE_ENV=local MIGRATION=true ts-node --transpileOnly ./admin/remove-organization.ts"
},
"dependencies": {
"@aws-sdk/client-secrets-manager": "^3.971.0",
"@godaddy/terminus": "^4.12.1",
"@google-cloud/storage": "^6.2.3",
"@nestjs/axios": "3.0.3",
"@nestjs/common": "10.4.18",
"@nestjs/core": "10.4.18",
"@nestjs/jwt": "10.2.0",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-express": "10.4.18",
"@nestjs/swagger": "7.4.0",
"@nestjs/terminus": "10.2.3",
"@nestjs/throttler": "6.2.1",
"@novu/api": "workspace:*",
"@novu/application-generic": "workspace:*",
"@novu/dal": "workspace:*",
"@novu/framework": "workspace:*",
"@novu/maily-render": "workspace:*",
"@novu/notifications": "workspace:*",
"@novu/shared": "workspace:*",
"@novu/stateless": "workspace:*",
"@novu/testing": "workspace:*",
"@sendgrid/mail": "^8.1.0",
"@sentry/browser": "^8.33.1",
"@sentry/hub": "^7.114.0",
"@sentry/nestjs": "^8.49.0",
"@sentry/node": "^8.49.0",
"@sentry/profiling-node": "^8.49.0",
"@sentry/tracing": "^7.120.3",
"@team-plain/typescript-sdk": "5.8.0",
"@types/json-schema-faker": "^0.5.4",
"@types/newrelic": "^9.14.8",
"@types/request-ip": "^0.0.41",
"@upstash/ratelimit": "^0.4.4",
"ajv": "^8.18.0",
"ajv-formats": "^2.1.1",
"axios": "^1.9.0",
"bcrypt": "^5.0.0",
"body-parser": "^2.2.1",
"bull": "^4.2.1",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"clickhouse-migrations": "^1.1.1",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"date-fns": "^2.29.2",
"deep-object-diff": "^1.1.9",
"dotenv": "^16.5.0",
"entities": "^7.0.0",
"envalid": "^8.0.0",
"es-toolkit": "^1.39.10",
"handlebars": "4.7.9",
"helmet": "^6.0.1",
"i18next": "^23.7.6",
"ioredis": "5.10.1",
"json-logic-js": "^2.0.5",
"json-schema-faker": "^0.5.6",
"json-schema-to-ts": "^3.0.0",
"jsonwebtoken": "9.0.3",
"liquidjs": "^10.25.5",
"lodash": "^4.18.0",
"lru-cache": "^11.2.4",
"nanoid": "^3.1.20",
"nest-raven": "10.1.0",
"newrelic": "^13.12.0",
"nimma": "^0.6.0",
"passport": "0.7.0",
"passport-github2": "^0.1.12",
"passport-headerapikey": "^1.2.2",
"passport-jwt": "^4.0.1",
"passport-oauth2": "^1.8.0",
"prettier": "~3.3.3",
"recursive-diff": "^1.0.8",
"reflect-metadata": "0.2.2",
"request-ip": "^3.3.0",
"rimraf": "^3.0.2",
"rxjs": "7.8.1",
"sanitize-html": "^2.4.0",
"shortid": "^2.2.17",
"svix": "^1.64.1",
"swagger-ui-express": "^4.4.0",
"uuid": "^8.3.2",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.3"
},
"devDependencies": {
"@faker-js/faker": "^6.0.0",
"@nestjs/cli": "10.4.5",
"@nestjs/schematics": "10.1.4",
"@nestjs/testing": "10.4.18",
"@stoplight/spectral-cli": "^6.15.0",
"@swc-node/register": "1.10.10",
"@types/async": "^3.2.1",
"@types/bcrypt": "^3.0.0",
"@types/bull": "^3.15.8",
"@types/chai": "^4.2.11",
"@types/express": "4.17.17",
"@types/json-logic-js": "^2.0.8",
"@types/mocha": "^10.0.2",
"@types/node": "^22.0.0",
"@types/passport-github": "^1.1.5",
"@types/passport-jwt": "^3.0.3",
"@types/sinon": "^9.0.0",
"@types/supertest": "^2.0.8",
"async": "^3.2.0",
"chai": "^4.2.0",
"chai-subset": "^1.6.0",
"express": "^5.0.1",
"get-port": "^5.1.1",
"mocha": "^10.2.0",
"pirates": "^4.0.7",
"sinon": "^9.2.4",
"ts-loader": "~9.4.0",
"ts-morph": "^24.0.0",
"ts-node": "~10.9.1",
"tsconfig-paths": "~4.1.0",
"typescript": "5.6.2"
},
"optionalDependencies": {
"@novu/ee-ai": "workspace:*",
"@novu/ee-api": "workspace:*",
"@novu/ee-auth": "workspace:*",
"@novu/ee-billing": "workspace:*",
"@novu/ee-shared-services": "workspace:*",
"@novu/ee-translation": "workspace:*"
},
"nx": {
"tags": [
"type:app"
]
}
}