forked from novuhq/novu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
208 lines (208 loc) · 7.66 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
{
"name": "novuhq",
"private": true,
"packageManager": "pnpm@8.9.0",
"scripts": {
"bootstrap": "npm run setup:dev",
"start": "npm run jarvis",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"publish": "lerna publish from-package",
"setup:project": "npx --yes pnpm@8.9.0 i && node scripts/setup-env-files.js && pnpm build",
"clean": "lerna clean --yes && npm run prebuild",
"commit": "cz",
"nx": "nx",
"lint-staged": "lint-staged",
"generate:provider": "npx hygen provider new --version 0.16.3",
"lint": "nx run-many --target=lint --all",
"test": "cross-env CI=true lerna run test:watch --parallel",
"start:dev": "cross-env TZ=UTC lerna run start:dev --parallel --concurrency=20 --scope=@novu/{api,worker,web,widget,ws,notification-center}",
"start:web": "cross-env nx run @novu/web:start",
"start:ws": "cross-env nx run @novu/ws:start",
"start:webhook": "cross-env nx run @novu/webhook:start",
"start:widget": "cross-env nx run @novu/widget:start",
"start:api": "cross-env nx run @novu/api:start",
"start:api:dev": "cross-env nx run @novu/api:start:dev",
"start:worker": "cross-env nx run @novu/worker:start",
"start:dal": "cross-env nx run @novu/dal:start",
"start:node": "cross-env nx run @novu/node:start",
"start:shared": "cross-env nx run @novu/shared:start",
"start:notification-center": "cross-env nx run @novu/notification-center:start",
"start:widget:test": "cross-env nx run-many --target=start:test --projects=@novu/widget",
"start:ws:test": "cross-env nx run-many --target=start:test --projects=@novu/ws",
"start:webhook:test": "cross-env nx run-many --target=start:test --projects=@novu/webhook",
"start:api:test": "cross-env nx run-many --target=start:test --projects=@novu/api",
"start:worker:test": "cross-env nx run-many --target=start:test --projects=@novu/worker",
"start:static:web": "cross-env nx run-many --target=start:static:build --projects=@novu/web",
"start:static:widget": "cross-env nx run-many --target=start:static:build --projects=@novu/widget",
"start:docker:web": "cross-env nx run-many --target=start:docker --projects=@novu/web",
"start:docker:embed": "cd libs/embed && npm run start:docker",
"start:docker:widget": "cross-env nx run-many --target=start:docker --projects=@novu/widget",
"docker:build": "pnpm -r --if-present --parallel docker:build",
"build": "nx run-many --target=build --all",
"prebuild": "nx run-many --target=prebuild --all",
"build:api": "nx build @novu/api",
"build:worker": "nx build @novu/worker",
"build:ws": "nx build @novu/ws",
"build:webhook": "nx build @novu/webhook",
"build:inbound-mail": "nx build @novu/inbound-mail",
"build:web": "nx build @novu/web",
"build:widget": "nx build @novu/widget",
"build:embed": "nx build @novu/embed",
"build:storybook": "nx run @novu/web:build-storybook",
"test:providers": "pnpm --filter './providers/**' test",
"release:patch": "lerna version patch --no-push",
"release:minor": "lerna version minor --no-push",
"release:preminor": "lerna version preminor --no-push",
"release:prerelease": "lerna version prerelease --no-push",
"start:integration:api": "cd apps/api && pnpm run test",
"start:e2e:api": "cd apps/api && pnpm run test:e2e",
"g:module": "hygen module new --name=$npm_config_name",
"g:usecase": "hygen usecase new --name=$npm_config_name --module=$npm_config_module",
"get-remote-env-files": "doppler secrets download --project api --config dev --no-file --format env > apps/api/src/.env",
"pnpm-context": "node scripts/pnpm-context.mjs",
"get-packages-folder": "node scripts/get-packages-folder.mjs",
"jarvis": "node scripts/jarvis.js",
"dev-environment-setup": "sh ./scripts/dev-environment-setup.sh",
"get-affected": "node scripts/print-affected-array.mjs"
},
"devDependencies": {
"@auto-it/npm": "^10.36.5",
"@auto-it/released": "^10.36.5",
"@commitlint/cli": "17.6.6",
"@commitlint/config-angular": "^17.0.0",
"@commitlint/config-conventional": "17.6.6",
"@cspell/eslint-plugin": "^6.14.3",
"@nrwl/cli": "^15.9.3",
"@nrwl/eslint-plugin-nx": "^16.10.0",
"@nrwl/jest": "^16.10.0",
"@nrwl/linter": "^16.10.0",
"@nrwl/nx-cloud": "^16.5.2",
"@nrwl/tao": "^16.10.0",
"@nrwl/workspace": "^16.10.0",
"@octokit/core": "^4.0.0",
"@pnpm/filter-workspace-packages": "^7.0.6",
"@pnpm/logger": "^5.0.0",
"@types/inquirer": "8.2.7",
"@types/jest": "29.5.2",
"@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"auto": "^10.36.5",
"chalk": "4.1.2",
"chalk-animation": "^1.6.0",
"commitizen": "^4.3.0",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"cspell": "^6.19.2",
"cypress-intellij-reporter": "^0.0.7",
"deep-extend": "^0.6.0",
"detect-port": "^1.3.0",
"eslint": "^8.33.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-webpack": "^0.13.7",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^3.7.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-spellcheck": "0.0.20",
"execa": "^6.1.0",
"globby": "^12.2.0",
"gradient-string": "^2.0.1",
"husky": "^8.0.1",
"hygen": "^6.2.0",
"inquirer": "8.2.6",
"jest": "27.5.1",
"jira-prepare-commit-msg": "1.7.2",
"lerna": "5.6.2",
"lint-staged": "^10.5.4",
"listr": "^0.14.3",
"markdownlint-cli": "^0.33.0",
"meow": "^10.1.3",
"mississippi": "^4.0.0",
"ora": "~5.4.1",
"pnpm": "8.9.0",
"prettier": "~2.8.0",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"stop-only": "^3.1.2",
"tar": "^6.1.11",
"ts-jest": "27.1.5",
"ts-node": "~10.9.1",
"typescript": "4.9.5",
"wait-port": "^0.3.0"
},
"workspaces": {
"packages": [
"apps/*",
"libs/*",
"packages/*",
"enterprise/packages/*",
"providers/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"apps/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint",
"stop-only --file"
],
"packages/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint",
"stop-only --file"
],
"providers/**/*.{ts,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint",
"stop-only --file"
],
"libs/**/*.{ts,js,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint",
"stop-only --file"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"engines": {
"node": ">=13.0.0 <17.0.0",
"pnpm": "^8.9.0"
},
"dependencies": {
"nx": "^16.10.0",
"tslib": "^2.4.0"
},
"pnpm": {
"overrides": {
"proxy-agent": "^6.3.0",
"nth-check": "^2.1.1",
"braces@<2.3.1": "^2.3.1",
"nanoid@>=3.0.0 <3.1.31": "^3.1.31",
"file-type@>=13.0.0 <16.5.4": "^16.5.4",
"glob-parent@<5.1.2": "^5.1.2",
"xml2js@<0.5.0": "^0.5.0",
"tough-cookie@<4.1.3": "^4.1.3",
"semver@>=7.0.0 <7.5.2": "^7.5.2",
"trim-newlines@<3.0.1": "^3.0.1",
"minimatch@>=3.0.0 <3.0.5": "^3.0.5",
"get-func-name@<2.0.1": "^2.0.1",
"postcss@<8.4.31": "^8.4.31"
}
}
}