forked from novuhq/novu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
188 lines (188 loc) · 7.03 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
{
"name": "novuhq",
"private": true,
"packageManager": "[email protected]",
"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 [email protected] i && node scripts/setup-env-files.js && pnpm build",
"install:docs": "pnpm install --filter @novu/docs",
"clean": "lerna clean --yes && npm run prebuild",
"commit": "cz",
"nx": "nx",
"lint-staged": "lint-staged",
"generate:provider": "npx hygen provider new",
"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,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:docs": "cross-env nx run @novu/docs: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: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: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 --exclude=angular-notification-center-example,vue-notification-center-example --all",
"prebuild": "nx run-many --target=prebuild --all",
"build:api": "nx build @novu/api",
"build:ws": "nx build @novu/ws",
"build:webhook": "nx build @novu/webhook",
"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",
"jarvis": "node scripts/jarvis.js",
"dev-environment-setup": "sh ./scripts/dev-environment-setup.sh"
},
"devDependencies": {
"@auto-it/npm": "^10.36.5",
"@auto-it/released": "^10.36.5",
"@commitlint/cli": "17.0.1",
"@commitlint/config-angular": "^13.2.0",
"@commitlint/config-conventional": "17.0.0",
"@nrwl/cli": "13.8.5",
"@nrwl/eslint-plugin-nx": "13.8.5",
"@nrwl/jest": "13.8.5",
"@nrwl/linter": "13.8.5",
"@nrwl/nx-cloud": "^13.2.1",
"@nrwl/tao": "13.8.5",
"@nrwl/workspace": "13.8.5",
"@octokit/core": "^3.6.0",
"@pnpm/filter-workspace-packages": "^4.1.11",
"@pnpm/logger": "^4.0.0",
"@types/inquirer": "8.2.2",
"@types/jest": "27.4.0",
"@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"auto": "^10.36.5",
"chalk": "4.1.2",
"chalk-animation": "^1.6.0",
"commitizen": "^4.2.4",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"cspell": "^4.2.8",
"cypress-intellij-reporter": "^0.0.6",
"cz-conventional-changelog": "3.3.0",
"detect-port": "^1.3.0",
"eslint": "7.32.0",
"@cspell/eslint-plugin": "^6.14.3",
"eslint-config-airbnb-typescript": "16.1.4",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^3.7.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-spellcheck": "0.0.19",
"execa": "^6.1.0",
"globby": "^12.0.2",
"gradient-string": "^2.0.0",
"husky": "^8.0.1",
"hygen": "^6.2.0",
"inquirer": "8.2.4",
"jest": "27.2.3",
"jira-prepare-commit-msg": "1.5.2",
"lerna": "5.1.6",
"lint-staged": "^10.5.4",
"listr": "^0.14.3",
"markdownlint-cli": "^0.31.1",
"meow": "^10.1.1",
"mississippi": "^4.0.0",
"ora": "~5.4.1",
"pnpm": "7.5.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"stop-only": "^3.1.2",
"tar": "^6.1.11",
"ts-jest": "27.0.5",
"ts-node": "^9.1.1",
"typescript": "4.3.5",
"wait-port": "^0.3.0"
},
"workspaces": {
"packages": [
"apps/*",
"libs/*",
"packages/*",
"providers/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"apps/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint --fix",
"stop-only --file"
],
"packages/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint --fix",
"stop-only --file"
],
"providers/**/*.{ts,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint --fix",
"stop-only --file"
],
"docs/**/*.{md,mdx}": [
"prettier --ignore-path ./.prettierignore --write",
"markdownlint --ignore-path ./.gitignore --fix -c ./.markdownlint.jsonc"
],
"libs/**/*.{ts,js,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint --fix",
"stop-only --file"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"engines": {
"node": ">=13.0.0 <17.0.0",
"pnpm": "7.5.0"
},
"dependencies": {
"nx": "^14.5.10",
"tslib": "^2.0.0"
}
}