-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 8.44 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 8.44 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
{
"name": "sharethrift",
"version": "1.0.0",
"description": "",
"type": "module",
"author": "Simnova",
"license": "MIT",
"packageManager": "pnpm@10.18.2",
"scripts": {
"install:all": "pnpm install && python3 -m pip install -r requirements.txt",
"analyze": "pnpm dlx @e18e/cli analyze --log-level error",
"build": "turbo run build",
"test": "turbo run test",
"lint": "turbo run lint",
"dev": "pnpm run build && pnpm run proxy:stop && pnpm run proxy:start && turbo run azurite gen:watch dev --parallel",
"start": "turbo run build && concurrently pnpm:start:* --kill-others-on-fail --workspace=@app/api",
"format": "turbo run format",
"proxy:stop": "portless proxy stop -p 1355 || true",
"proxy:start": "portless proxy start -p 1355",
"proxy:restart": "pnpm run proxy:stop && pnpm run proxy:start",
"gen": "graphql-codegen --config codegen.yml",
"gen:watch": "graphql-codegen --config codegen.yml --watch",
"tsbuild": "tsc --build",
"tswatch": "tsc --build --watch",
"clean": "pnpm install && turbo run clean && rimraf dist node_modules **/coverage .turbo",
"clean:python": "rimraf .venv",
"clean:all": "pnpm run clean:python && pnpm run clean",
"start:api": "pnpm --filter=@app/api run start",
"start:ui-sharethrift": "pnpm --filter=@app/ui-sharethrift run dev",
"start:docs": "pnpm --filter=@app/docs run start",
"start-emulator:mongo-memory-server": "pnpm --filter=@app/mock-mongodb-memory-server run start",
"start-emulator:auth-server": "pnpm --filter=@cellix/mock-oauth2-server run start",
"start-emulator:payment-server": "pnpm --filter=@cellix/mock-payment-server run start",
"start-emulator:messaging-server": "pnpm --filter=@app/mock-messaging-server run start",
"test:all": "turbo run test:all",
"test:acceptance:api": "pnpm --filter=@sthrift-verification/acceptance-api run test",
"test:acceptance:ui": "pnpm --filter=@sthrift-verification/acceptance-ui run test",
"test:acceptance:all": "pnpm run test:acceptance:api && pnpm run test:acceptance:ui",
"test:coverage:acceptance:api": "pnpm --filter=@sthrift-verification/acceptance-api run test:coverage",
"test:coverage:acceptance:ui": "pnpm --filter=@sthrift-verification/acceptance-ui run test:coverage",
"test:coverage:acceptance": "pnpm run test:coverage:acceptance:api && pnpm run test:coverage:acceptance:ui",
"test:e2e": "turbo run test:e2e --filter=@sthrift-verification/e2e-tests",
"test:coverage": "turbo run test:coverage:ui && turbo run test:coverage:node && turbo run test:arch",
"test:coverage:node": "turbo run test:coverage:node",
"test:coverage:ui": "turbo run test:coverage:ui",
"test:arch": "turbo run test:arch --filter='@cellix/arch-unit-tests' --filter='@sthrift-verification/arch-unit-tests' --filter='@sthrift/graphql' --filter='@sthrift/domain' --filter='@sthrift/persistence' --filter='@sthrift/application-services' --filter='@sthrift/data-sources-mongoose-models' --filter='@sthrift/ui-sharethrift-route-root' --filter='@sthrift/ui-sharethrift-route-signup' --filter='@sthrift/ui-admin-route-root'",
"test:coverage:merge": "pnpm run test:coverage:acceptance && pnpm run test:coverage:node && pnpm run merge-lcov-reports",
"merge-lcov-reports": "node build-pipeline/scripts/merge-coverage.js",
"test:integration": "turbo run test:integration",
"test:serenity": "turbo run test:serenity",
"test:serenity:report": "turbo run test:serenity:report",
"test:unit": "turbo run test:unit",
"test:watch": "turbo run test:watch --concurrency 15",
"sonar": "pnpm exec sonar-scanner",
"sonar:pr": "export PR_NUMBER=$(node build-pipeline/scripts/get-pr-number.cjs) && pnpm exec sonar-scanner -Dsonar.pullrequest.key=$PR_NUMBER -Dsonar.pullrequest.branch=$(git branch --show-current) -Dsonar.pullrequest.base=main",
"sonar:pr-windows": "for /f %i in ('node build-pipeline/scripts/get-pr-number.cjs') do set PR_NUMBER=%i && pnpm exec sonar-scanner -Dsonar.pullrequest.key=%PR_NUMBER% -Dsonar.pullrequest.branch=%BRANCH_NAME% -Dsonar.pullrequest.base=main",
"check-sonar": "echo 'SonarQube analysis completed successfully'",
"sourcery:review:check": "python3 .sourcery/scripts/review.py --check",
"sourcery:review:diff": "python3 .sourcery/scripts/review.py --diff",
"sourcery:review:fix": "python3 .sourcery/scripts/review.py --fix",
"verify": "pnpm run test:arch && pnpm run test:coverage:merge && pnpm run knip && pnpm run snyk && pnpm run sonar:pr && pnpm run check-sonar",
"knip": "knip",
"snyk": "pnpm run snyk:test && pnpm run snyk:code",
"snyk:report": "pnpm run snyk:monitor && pnpm run snyk:code:report",
"snyk:test": "snyk test --all-projects --org=simnova --remote-repo-url=https://github.com/simnova/sharethrift --policy-path=.snyk --exclude=dist,build,.turbo,coverage",
"snyk:monitor": "snyk monitor --all-projects --org=simnova --target-reference=main --remote-repo-url=https://github.com/simnova/sharethrift --project-name-prefix=\"sharethrift/\" --policy-path=.snyk --exclude=dist,build,.turbo,coverage",
"snyk:code": "snyk code test --org=simnova --remote-repo-url=https://github.com/simnova/sharethrift --severity-threshold=medium",
"snyk:code:report": "snyk code test --org=simnova --remote-repo-url=https://github.com/simnova/sharethrift --target-reference=main --project-name=sharethrift-code --report",
"snyk:iac": "snyk iac test iac/**/*.bicep apps/**/iac/**/*.bicep --org=simnova --remote-repo-url=https://github.com/simnova/sharethrift",
"snyk:iac:report": "snyk iac test iac/**/*.bicep apps/**/iac/**/*.bicep --org=simnova --remote-repo-url=https://github.com/simnova/sharethrift --target-reference=main --target-name=sharethrift-iac --report",
"edgescan:agent": "docker run --tty --rm edgescan/cicd-integration:latest --api-token $ES_API_TOKEN --asset-id $ES_ASSET_ID --start-scan --max-risk-threshold 3 --wait --color",
"edgescan:dev": "container run --tty --rm --platform linux/amd64 edgescan/cicd-integration:latest --api-token $ES_API_TOKEN --asset-id 74469 --base-url \"https://intealth.edgescan.com\" --start-scan --max-risk-threshold 3 --wait --color"
},
"pnpm": {
"auditConfig": {
"ignoreGhsas": [
"GHSA-6rw7-vpxm-498p"
]
},
"overrides": {
"@pnpm/npm-conf": ">=3.0.2",
"@apollo/server": ">=5.5.0",
"@types/node": "^24.10.7",
"axios": "1.15.0",
"brace-expansion@5.0.4": "5.0.5",
"follow-redirects": "1.16.0",
"happy-dom@20.8.4": "20.8.9",
"lodash": "^4.17.23",
"minimatch": ">=10.2.3",
"node-forge@1.3.3": "1.4.0",
"path-to-regexp@0.1.12": "0.1.13",
"picomatch@2.3.1": "2.3.2",
"picomatch@4.0.3": "4.0.4",
"protobufjs": "7.5.5",
"qs": ">=6.14.2",
"serialize-javascript@6.0.2": "7.0.5",
"serialize-javascript@7.0.4": "7.0.5",
"undici": ">=6.24.0",
"yaml@2.8.2": "2.8.3"
}
},
"devDependencies": {
"@amiceli/vitest-cucumber": "^6.1.0",
"@biomejs/biome": "2.0.0",
"@graphql-codegen/cli": "^5.0.7",
"@graphql-codegen/introspection": "^4.0.3",
"@graphql-codegen/typed-document-node": "^5.1.2",
"@graphql-codegen/typescript": "^4.1.6",
"@graphql-codegen/typescript-operations": "^4.6.1",
"@graphql-codegen/typescript-resolvers": "^4.5.1",
"@parcel/watcher": "^2.5.1",
"@playwright/test": "^1.55.1",
"@serenity-js/assertions": "^3.36.1",
"@serenity-js/console-reporter": "^3.36.1",
"@serenity-js/core": "^3.36.1",
"@serenity-js/cucumber": "^3.36.1",
"@serenity-js/serenity-bdd": "^3.36.1",
"@sonar/scan": "4.3.5",
"@types/node": "^24.7.2",
"@vitest/browser-playwright": "catalog:",
"@vitest/coverage-v8": "catalog:",
"azurite": "^3.35.0",
"knip": "^5.61.1",
"portless": "0.9.1",
"rimraf": "^6.0.1",
"rollup": "4.59.0",
"snyk": "^1.1301.0",
"tsx": "^4.20.3",
"turbo": "^2.8.16",
"typescript": "^5.8.3",
"vite": "catalog:",
"vitest": "catalog:"
}
}