-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
207 lines (207 loc) · 9.97 KB
/
Copy pathpackage.json
File metadata and controls
207 lines (207 loc) · 9.97 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
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
{
"name": "patcher",
"version": "6.3.1",
"packageManager": "pnpm@10.33.4",
"scripts": {
"start": "ng serve --port 5556",
"start:ssr": "ng serve --configuration ssr --port 5556",
"startProd": "ng serve --configuration production --hmr",
"prebuild": "node generate-env.js",
"build": "pnpm prebuild && angular-build-info && node scripts/build/generate-prerender-routes.mjs && ng build --configuration production",
"build:release": "pnpm build && pnpm sentry:sourcemaps",
"bundle-report": "ng build --configuration=production --stats-json && webpack-bundle-analyzer dist/Patcher/stats.json",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org patcher --project patcher-xyz ./dist/Patcher && sentry-cli sourcemaps upload --org patcher --project patcher-xyz ./dist/Patcher",
"copyChangelog": "cp CHANGELOG.md src/assets/md/changelog.md",
"lint": "ng lint && node scripts/checks/check-route-module-imports.cjs && node scripts/checks/check-layering.cjs && node scripts/checks/check-explicit-any.cjs && node scripts/checks/check-docs.cjs && node scripts/checks/check-scss-global-imports.cjs && bash scripts/checks/check-posthog-imports.sh",
"lint:styles": "stylelint \"src/**/*.scss\"",
"lint:px": "bash scripts/checks/check-px-ts.sh $(find src -name '*.ts' -not -path '*/node_modules/*')",
"px-to-rem": "node scripts/dev/px-to-rem.mjs",
"px-to-rem:write": "node scripts/dev/px-to-rem.mjs --write",
"ci": "pnpm test-headless",
"test": "pnpm test:unit",
"test:unit": "ng test --browsers=ChromeHeadlessCI",
"test-headless": "pnpm test:unit:headless",
"test:unit:headless": "ng test --browsers=ChromeHeadlessCI --watch=false",
"test:unit:ci": "ng test --browsers=ChromeHeadlessCI --watch=false --code-coverage",
"test:functions": "pnpm test:functions:middleware && pnpm test:functions:sitemap && pnpm test:functions:prerender-routes && pnpm test:functions:image-metadata && pnpm test:functions:public-id-migrations && pnpm test:functions:panel-ratio-audit",
"test:functions:middleware": "node scripts/tests/run-function-test.cjs middleware.ts tmp/middleware-test scripts/tests/middleware.test.cjs",
"test:functions:sitemap": "node scripts/tests/run-function-test.cjs api/sitemap.ts tmp/sitemap-test scripts/tests/sitemap.test.cjs",
"test:functions:prerender-routes": "node --test scripts/tests/prerender-routes.test.mjs",
"test:functions:image-metadata": "node --test scripts/tests/image-metadata.test.cjs",
"test:functions:public-id-migrations": "node --test scripts/tests/public-id-migrations.test.cjs",
"test:functions:panel-ratio-audit": "node --test scripts/tests/panel-ratio-audit.test.mjs",
"test:ssr": "pnpm build && node scripts/tests/ssr-smoke.mjs",
"test:ssr:smoke": "node scripts/tests/ssr-smoke.mjs",
"test:ci:full": "pnpm test:functions && pnpm test:unit:ci",
"e2e": "pnpm test:e2e",
"pretest:e2e": "pnpm exec playwright install chromium",
"test:e2e": "playwright test --reporter=list --project=chromium",
"pretest:e2e:auth": "pnpm exec playwright install chromium",
"test:e2e:auth": "node scripts/ops/run-e2e-auth.mjs",
"pretest:e2e:screenshots": "rm -rf src/assets/screenshots/major-area-screenshots && mkdir -p src/assets/screenshots/major-area-screenshots && pnpm exec playwright install chromium",
"test:e2e:screenshots": "playwright test --reporter=list --workers=8 --project=chromium-screenshots e2e/screenshots/auth-major-area-screenshots.spec.ts",
"pretest:e2e:ci": "pnpm exec playwright install chromium",
"test:e2e:ci": "playwright test --reporter=list --workers=1",
"test:e2e:prod": "pnpm build && pnpm test:e2e:prod:run",
"test:e2e:prod:run": "playwright test --config=playwright.prod.config.ts",
"backup:data": "bash scripts/ops/backup-data.sh",
"backup:data:dry-run": "bash scripts/ops/backup-data.sh --dry-run",
"audit:panel-ratios": "node scripts/audits/audit-panel-ratios.mjs",
"restore:data": "bash scripts/ops/restore-data.sh",
"release:preflight": "node scripts/build/release-preflight.mjs",
"testRelease:patch": "pnpm release:preflight && standard-version --release-as patch --dry-run && git push --dry-run --atomic --follow-tags origin production",
"testRelease:minor": "pnpm release:preflight && standard-version --release-as minor --dry-run && git push --dry-run --atomic --follow-tags origin production",
"release:patch": "pnpm release:preflight && standard-version --release-as patch --commit-all && git push --atomic --follow-tags origin production",
"release:minor": "pnpm release:preflight && standard-version --release-as minor --commit-all && git push --atomic --follow-tags origin production",
"release:major": "pnpm release:preflight && standard-version --release-as major --commit-all && git push --atomic --follow-tags origin production",
"updateBackendTypes": "npx supabase gen types typescript --project-id \"$SUPABASE_PROJECT_ID\" --schema public > src/backend/database.types.ts",
"git:untrack-e2e-artifacts": "git rm -r --cached test-results/ playwright-report/ e2e/flow-0*.spec.ts 2>/dev/null || true",
"switch:develop": "git update-index --no-skip-worktree src/build.ts && git checkout -- src/build.ts && git checkout develop && git update-index --skip-worktree src/build.ts",
"switch:production": "git update-index --no-skip-worktree src/build.ts && git checkout -- src/build.ts && git checkout production && git update-index --skip-worktree src/build.ts",
"merge:prod-to-dev": "pnpm switch:develop && git merge production",
"merge:dev-to-prod": "pnpm switch:production && git merge develop",
"prepare": "husky"
},
"lint-staged": {
"src/**/*.scss": [
"stylelint --allow-empty-input"
],
"src/**/*.ts": [
"bash scripts/checks/check-px-ts.sh",
"node scripts/checks/check-explicit-any.cjs --staged"
]
},
"standard-version": {
"scripts": {
"postchangelog": "cp CHANGELOG.md src/assets/md/changelog.md",
"precommit": "git add src/assets/md/changelog.md"
}
},
"engines": {
"node": "24.x"
},
"pnpm": {
"overrides": {
"body-parser": "1.20.4",
"handlebars": "4.7.9",
"serialize-javascript": "7.0.5",
"node-forge": "1.3.2",
"qs": "6.15.0",
"tar": "7.5.13",
"ws": "8.19.0",
"brace-expansion@1.1.12": "1.1.14",
"picomatch@2.3.1": "2.3.2",
"picomatch@4.0.3": "4.0.4",
"path-to-regexp@0.1.12": "0.1.13",
"path-to-regexp@8.3.0": "8.4.2",
"follow-redirects@1.15.11": "1.16.0",
"browserslist@4.28.1": "4.28.2",
"caniuse-lite@1.0.30001780": "1.0.30001788"
}
},
"private": true,
"dependencies": {
"@angular/animations": "^22.0.1",
"@angular/cdk": "^22.0.1",
"@angular/cdk-experimental": "^22.0.1",
"@angular/common": "^22.0.1",
"@angular/compiler": "^22.0.1",
"@angular/core": "^22.0.1",
"@angular/flex-layout": "^15.0.0-beta.42",
"@angular/forms": "^22.0.1",
"@angular/material": "^22.0.1",
"@angular/platform-browser": "^22.0.1",
"@angular/platform-browser-dynamic": "^22.0.1",
"@angular/platform-server": "^22.0.1",
"@angular/router": "^22.0.1",
"@angular/ssr": "^22.0.1",
"@fortawesome/angular-fontawesome": "5.0.0",
"@fortawesome/fontawesome-svg-core": "7.2.0",
"@fortawesome/free-brands-svg-icons": "7.2.0",
"@ngx-pwa/local-storage": "^22.0.0",
"@sentry/angular": "^10.57.0",
"@sentry/browser": "^10.57.0",
"@sentry/cli": "^2.38.0",
"@supabase/supabase-js": "^2.46.1",
"angular-animations": "^0.11.0",
"angular-html-parser": "^1.8.0",
"core-js": "^3.23.3",
"graphology": "^0.24.1",
"graphology-generators": "^0.11.2",
"graphology-layout": "^0.5.0",
"graphology-layout-force": "^0.2.4",
"graphology-layout-forceatlas2": "^0.8.2",
"graphology-types": "^0.24.3",
"gsap": "^3.13.0",
"lottie-web": "^5.12.2",
"luxon": "^3.4.4",
"luxon-angular": "^6.0.0",
"modern-screenshot": "^4.6.8",
"ngx-dropzone": "3.1.0",
"ngx-image-cropper": "9.1.6",
"ngx-lottie": "^21.2.0",
"ngx-pipes": "^3.2.2",
"ngx-timeago": "^4.1.0",
"posthog-js": "^1.384.0",
"rxjs": "^7.8.2",
"sigma": "^2.2.0",
"ts-cacheable": "^1.0.10",
"tslib": "^2.3.1",
"unique-names-generator": "^4.7.1",
"zone.js": "~0.16.2"
},
"devDependencies": {
"@angular-eslint/builder": "22.0.0",
"@angular-eslint/eslint-plugin": "22.0.0",
"@angular-eslint/eslint-plugin-template": "22.0.0",
"@angular-eslint/schematics": "22.0.0",
"@angular-eslint/template-parser": "22.0.0",
"@angular/build": "22.0.1",
"@angular/cli": "^22.0.1",
"@angular/compiler-cli": "^22.0.1",
"@angular/language-service": "^22.0.1",
"@commitlint/cli": "^21.0.2",
"@commitlint/config-conventional": "^21.0.2",
"@playwright/test": "^1.60.0",
"@types/express": "^5.0.6",
"@types/jasmine": "^3.10.3",
"@types/jasminewd2": "^2.0.10",
"@types/luxon": "^2.3.2",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.61.0",
"@typescript-eslint/parser": "^8.61.0",
"@typescript-eslint/types": "^8.61.0",
"@typescript-eslint/utils": "^8.61.0",
"angular-build-info": "^2.0.1",
"body-parser": "1.20.4",
"dompurify": "^3.4.10",
"eslint": "^10.5.0",
"express": "^4.22.2",
"express-rate-limit": "8.5.2",
"fast-uri": "3.1.2",
"husky": "^9.1.7",
"ip-address": "10.2.0",
"istanbul-lib-instrument": "^6.0.3",
"jasmine-core": "^4.0.1",
"jasmine-spec-reporter": "^7.0.0",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"lint-staged": "^16.2.7",
"postcss": "8.5.15",
"postcss-scss": "^4.0.9",
"qs": "6.15.0",
"shell-quote": "1.8.4",
"simple-icons": "^16.23.0",
"socks": "2.8.9",
"standard-version": "^9.5.0",
"stylelint": "^17.13.0",
"tmp": "0.2.7",
"ts-node": "^10.9.2",
"typescript": "6.0.3",
"webpack-dev-server": "5.2.5",
"ws": "8.19.0"
}
}