-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
254 lines (254 loc) · 11.4 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
{
"name": "tag-check",
"version": "1.1.7",
"main": ".vite/build/main.js",
"author": "Guan Xin Wang",
"description": "A tool to check the data layer of a website",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/WodenWang820118/tag-check.git"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"development": "-------------all development scripts-------------",
"dev-front": "nx serve ng-frontend",
"dev-back": "cross-env-shell NODE_ENV=dev \"nx serve nest-backend --watch\"",
"dev-app": "concurrently \"pnpm run dev-front\" \"pnpm run dev-back\"",
"prod-front": "nx serve ng-frontend --prod",
"prod-back": "cross-env-shell NODE_ENV=prod ROOT_PROJECT_PATH=./tag_check_projects \"nx serve nest-backend --prod\"",
"prod-app": "concurrently \"pnpm run prod-front\" \"pnpm run prod-back\"",
"dev-tag-build": "nx serve ng-tag-build",
"prod-tag-build": "nx serve ng-tag-build --prod",
"dev-electron": "cross-env-shell NODE_ENV=dev \"pnpm run build && electron-forge start\"",
"staging-electron": "cross-env-shell NODE_ENV=staging \"pnpm run build-staging && electron-forge start\"",
"building scripts": "-----------------all building scripts-----------------",
"build-front": "nx build ng-frontend --configuration=development --base-href ./",
"build-back": "nx build nest-backend",
"build": "pnpm run build-front && pnpm run build-back",
"build-staging-front": "nx build ng-frontend --configuration=staging --base-href ./",
"build-staging-back": "cross-env-shell NODE_ENV=staging \"nx build nest-backend\"",
"build-staging": "pnpm run build-staging-front && pnpm run build-staging-back",
"build-prod-front": "nx build ng-frontend --configuration production --optimization --base-href ./",
"build-prod-back": "cross-env-shell NODE_ENV=prod \"nx build nest-backend\"",
"build-prod": "pnpm run build-prod-front && pnpm run build-prod-back && cd dist/apps/nest-backend && npm install && npm install sqlite3 update-electron-app electron-log && cd ../../..",
"build-tag-build": "nx build ng-tag-build --configuration production --optimization",
"make": "cross-env-shell NODE_ENV=prod \"pnpm run build-prod && electron-forge make\"",
"package": "cross-env-shell NODE_ENV=prod \"pnpm run build-prod && electron-forge package\"",
"source map explorer": "-----------------source map explorer-----------------",
"bundle-ng-frontend-report": "nx build ng-frontend --configuration production --source-map && source-map-explorer dist/apps/ng-frontend/browser/*.js",
"bundle-ng-tag-build-report": "nx build ng-tag-build --configuration production --source-map && source-map-explorer dist/apps/ng-tag-build/browser/*.js",
"staging app": "-----------------staging app-----------------",
"staging-app": "concurrently \"http-server ./dist/apps/ng-frontend/browser -p 5000 --cors\" \"node ./dist/apps/nest-backend/main.js\"",
"mock project backend": "-----------------situated within the mock folder-----------------",
"mock-front": "nx serve ng-frontend --configuration=mock",
"mock-back": "concurrently \"pnpm run mock-project-back\" \"pnpm run mock-recording-back\" \"pnpm run mock-configurations-back\" \"pnpm run mock-specs-back\" \"pnpm run mock-reports-back\" \"pnpm run mock-settings-back\"",
"mock-app": "concurrently \"pnpm run mock-back\" \"pnpm run mock-front\"",
"mock-project-back": "nodemon mock/mock-server/mock-project-backend.js",
"mock-recording-back": "nodemon mock/mock-server/mock-recordings-backend.js",
"mock-configurations-back": "nodemon mock/mock-server/mock-configurations-backend.js",
"mock-specs-back": "nodemon mock/mock-server/mock-specs-backend.js",
"mock-reports-back": "nodemon mock/mock-server/mock-reports-backend.js",
"mock-settings-back": "nodemon mock/mock-server/mock-settings-backend.js",
"testing": "-----------------all testing scripts-----------------",
"test:cov": "nx run-many --target=test --parallel=6 --coverage --verbose --exclude=**/nest-backend && pnpm run test-back:cov && node ./merge-coverage.cjs",
"test-back:cov": "vitest --coverage --root=apps/nest-backend --exclude=**/test/*e2e-spec.ts --watch=false",
"test-back:e2e": "vitest --coverage --root=apps/nest-backend/test --watch=false",
"test-front:e2e": "pnpm exec playwright test \"apps/ng-frontend/e2e/app.spec.ts\"",
"test-electron": "pnpm exec playwright test \"main-process/e2e/app.spec.cjs\"",
"test": "vitest run",
"prepare": "husky",
"test:e2e": "vitest run apps/nest-backend/test/app.e2e-spec.ts --root=apps/nest-backend --watch=false",
"test-back:unit": "vitest --root=apps/nest-backend --exclude=**/test/*e2e-spec.ts --watch=false",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org guan-xin-wang --project tag-check ./dist/apps/ng-frontend/browser && sentry-cli sourcemaps upload --org guan-xin-wang --project tag-check ./dist/apps/ng-frontend/browser",
"publishing": "-----------------publishing scripts-----------------",
"publish-local": "cross-env-shell NODE_ENV=prod \"pnpm run build-prod && electron-forge publish -- --from-dry-run\"",
"publish-dry": "cross-env-shell NODE_ENV=prod \"pnpm run build-prod && electron-forge publish -- --dry-run\"",
"publish": "cross-env-shell NODE_ENV=prod \"pnpm run build-prod && electron-forge publish\"",
"docusaurus": "-----------------docusaurus-----------------",
"docusaurus-front": "nx serve ng-frontend-doc",
"build-docusaurus": "nx build ng-frontend-doc",
"storybook": "-----------------storybook-----------------",
"storybook-front": "nx storybook ng-frontend",
"build-storybook": "nx run ng-frontend:build-storybook"
},
"private": true,
"devDependencies": {
"@angular-devkit/build-angular": "18.2.4",
"@angular-devkit/core": "18.2.4",
"@angular-devkit/schematics": "18.2.4",
"@angular-eslint/eslint-plugin": "18.0.1",
"@angular-eslint/eslint-plugin-template": "18.0.1",
"@angular-eslint/template-parser": "18.0.1",
"@angular/animations": "18.2.4",
"@angular/cdk": "18.2.3",
"@angular/cli": "~17.1.0",
"@angular/common": "18.2.4",
"@angular/compiler": "18.2.4",
"@angular/compiler-cli": "18.2.4",
"@angular/core": "18.2.4",
"@angular/forms": "18.2.4",
"@angular/language-service": "18.2.4",
"@angular/material": "18.2.3",
"@angular/platform-browser": "18.2.4",
"@angular/platform-browser-dynamic": "18.2.4",
"@angular/router": "18.2.4",
"@codemirror/lang-json": "^6.0.1",
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/theme-classic": "^3.5.2",
"@docusaurus/tsconfig": "3.4.0",
"@docusaurus/types": "3.4.0",
"@electron-forge/cli": "^7.4.0",
"@electron-forge/maker-deb": "^7.4.0",
"@electron-forge/maker-rpm": "^7.4.0",
"@electron-forge/maker-squirrel": "^7.4.0",
"@electron-forge/maker-zip": "^7.4.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.4.0",
"@electron-forge/plugin-fuses": "^7.4.0",
"@electron-forge/plugin-vite": "^7.5.0",
"@electron-forge/publisher-github": "^7.5.0",
"@electron-forge/shared-types": "^7.5.0",
"@electron/fuses": "^1.8.0",
"@electron/rebuild": "^3.7.0",
"@fontsource/material-icons": "^5.1.0",
"@fontsource/roboto": "^5.1.0",
"@nestjs/mapped-types": "^2.0.5",
"@nestjs/schematics": "^10.0.1",
"@nestjs/testing": "^10.0.2",
"@nx-extend/docusaurus": "^3.0.0",
"@nx/angular": "20.0.0",
"@nx/cypress": "20.0.0",
"@nx/devkit": "20.0.0",
"@nx/eslint": "20.0.0",
"@nx/eslint-plugin": "20.0.0",
"@nx/jest": "20.0.0",
"@nx/js": "20.0.0",
"@nx/nest": "20.0.0",
"@nx/node": "20.0.0",
"@nx/playwright": "20.0.0",
"@nx/storybook": "20.0.0",
"@nx/vite": "20.0.0",
"@nx/web": "20.0.0",
"@nx/webpack": "20.0.0",
"@nx/workspace": "20.0.0",
"@playwright/test": "^1.36.0",
"@schematics/angular": "18.2.4",
"@sentry/angular": "^8.29.0",
"@storybook/addon-essentials": "^8.2.8",
"@storybook/addon-interactions": "^8.2.8",
"@storybook/addon-links": "^8.3.5",
"@storybook/angular": "^8.2.8",
"@storybook/core-server": "^8.2.8",
"@storybook/preset-scss": "^1.0.3",
"@storybook/test": "^8.3.5",
"@storybook/test-runner": "^0.13.0",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.12",
"@swc/core": "1.5.7",
"@swc/helpers": "0.5.13",
"@types/archiver": "^6.0.2",
"@types/chart.js": "^2.9.41",
"@types/codemirror": "^5.60.15",
"@types/express": "^5.0.0",
"@types/glob": "^8.1.0",
"@types/jest": "29.5.12",
"@types/multer": "^1.4.11",
"@types/node": "^22.7.6",
"@types/supertest": "^6.0.2",
"@types/unzipper": "^0.10.10",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "8.8.1",
"@typescript-eslint/parser": "8.8.1",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"chart.js": "^4.4.4",
"codemirror": "^6.0.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"electron": "^33.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-playwright": "^1.7.0",
"glob": "^11.0.0",
"husky": "^9.1.5",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-node": "^29.4.1",
"jest-preset-angular": "14.1.1",
"jsdom": "~22.1.0",
"jsonc-eslint-parser": "^2.1.0",
"lint-staged": "^15.2.9",
"marked": "^12.0.0",
"nestjs-spelunker": "^1.3.0",
"ngx-markdown": "^18.0.0",
"nodemon": "^3.1.0",
"nx": "20.0.0",
"prettier": "^3.3.3",
"prismjs": "^1.29.0",
"sass": "^1.79.5",
"sass-loader": "^16.0.2",
"socket.io-client": "^4.7.5",
"source-map-explorer": "^2.5.3",
"sqlite3": "^5.1.7",
"storybook": "8.3.6",
"style-loader": "^4.0.0",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.5.1",
"ts-node": "10.9.1",
"typescript": "5.5.4",
"unplugin-swc": "^1.5.1",
"vite": "^5.4.9",
"vitest": "^2.1.1",
"webpack-merge": "^6.0.1",
"zone.js": "~0.14.3"
},
"dependencies": {
"@codemirror/commands": "^6.6.1",
"@codemirror/lint": "^6.8.1",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.33.0",
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@mdx-js/react": "^3.0.0",
"@nestjs/common": "^10.0.2",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.0.2",
"@nestjs/platform-express": "^10.0.2",
"@nestjs/platform-socket.io": "^10.4.1",
"@nestjs/sequelize": "^10.0.0",
"@nestjs/swagger": "^7.1.12",
"@nestjs/typeorm": "^10.0.2",
"@nestjs/websockets": "^10.4.1",
"@storybook/builder-webpack5": "^8.3.6",
"@storybook/manager-webpack5": "^6.5.16",
"archiver": "^7.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"clsx": "^2.0.0",
"codemirror": "^6.0.1",
"electron-log": "^5.2.0",
"electron-squirrel-startup": "^1.0.1",
"exceljs": "^4.4.0",
"express": "^5.0.0",
"ffmpeg-static": "^5.2.0",
"firebase": "^10.13.1",
"multer": "1.4.5-lts.1",
"prism-react-renderer": "^2.3.0",
"puppeteer": "^23.2.1",
"puppeteer-chromium-resolver": "^23.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rxjs": "^7.8.0",
"sequelize": "^6.35.2",
"sequelize-typescript": "^2.1.6",
"tag-check": "file:",
"tslib": "^2.7.0",
"typeorm": "^0.3.20",
"unzipper": "^0.10.14",
"update-electron-app": "^3.0.0",
"uuid": "^9.0.1"
},
"packageManager": "pnpm@9.12.2"
}