-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 5.57 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 5.57 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
{
"name": "cellixjs",
"version": "1.0.0",
"description": "",
"type": "module",
"author": "CellixJs",
"license": "MIT",
"packageManager": "pnpm@11.0.8",
"scripts": {
"antd": "antd",
"audit": "(pnpm audit --audit-level=high --prod) && (pnpm audit --audit-level=critical --dev)",
"build": "turbo run build",
"test": "turbo run test",
"lint": "turbo run lint",
"dev": "pnpm proxy:stop && pnpm proxy:start && turbo watch azurite dev --filter='./apps/*' --filter='./packages/*'",
"start": "turbo run build && concurrently --kill-others-on-fail \"pnpm run start:api\" \"pnpm run start:ui-community\"",
"proxy:stop": "pnpm exec portless proxy stop || true",
"proxy:start": "pnpm exec portless proxy start --https -p 1355",
"format": "turbo run format",
"format:check": "turbo run format:check",
"format:staged": "biome check --write --staged --no-errors-on-unmatched",
"gen": "graphql-codegen --config codegen.yml",
"gen:watch": "graphql-codegen --config codegen.yml --watch",
"clean": "turbo run clean && rimraf dist node_modules **/coverage",
"start:api": "pnpm --filter @apps/api start",
"start:ui-community": "pnpm --filter @apps/ui-community dev",
"start-emulator:mongo-memory-server": "pnpm --filter @cellix/mock-mongodb-memory-server start",
"start-emulator:auth-server": "pnpm --filter @cellix/mock-oauth2-server start",
"test:all": "turbo run test:all",
"test:arch": "turbo run test:arch",
"test:coverage": "turbo run test:coverage",
"test:coverage:merge": "pnpm run test:coverage && pnpm run merge-lcov-reports",
"test:e2e": "turbo run test:e2e --filter=@ocom-verification/e2e-tests",
"test:acceptance": "turbo run test:acceptance --filter=@ocom-verification/acceptance-api --filter=@ocom-verification/acceptance-ui",
"merge-lcov-reports": "node build-pipeline/scripts/merge-coverage.js",
"test:integration": "turbo run test:integration",
"test:serenity": "turbo run test:serenity",
"test:unit": "turbo run test:unit",
"test:watch": "turbo run test:watch --concurrency 15",
"skill:cellix-tdd:check": "node --experimental-strip-types .agents/skills/cellix-tdd/evaluator/check-cellix-tdd.ts",
"test:skill:cellix-tdd": "pnpm run test:skill:cellix-tdd:unit && pnpm run test:skill:cellix-tdd:integration",
"test:skill:cellix-tdd:integration": "node .agents/skills/cellix-tdd/evaluator/run-integration.js",
"test:skill:cellix-tdd:unit": "vitest run --config .agents/skills/cellix-tdd/evaluator/vitest.config.ts --reporter verbose",
"storybook": "turbo run storybook",
"sonar": "sonar-scanner",
"sonar:pr": "export PR_NUMBER=$(node build-pipeline/scripts/get-pr-number.cjs) && 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 && sonar-scanner -Dsonar.pullrequest.key=%PR_NUMBER% -Dsonar.pullrequest.branch=%BRANCH_NAME% -Dsonar.pullrequest.base=main",
"check-sonar": "node build-pipeline/scripts/check-sonar-quality-gate.cjs",
"verify": "pnpm run format:check && pnpm run test:arch && pnpm run test:coverage:merge && pnpm run knip && pnpm run audit && 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=cellixjs --remote-repo-url=https://github.com/CellixJs/cellixjs --policy-path=.snyk --exclude=dist,build,.turbo,coverage,.agents-work",
"snyk:monitor": "snyk monitor --all-projects --org=cellixjs --target-reference=main --remote-repo-url=https://github.com/CellixJs/cellixjs --project-name-prefix=\"cellixjs/\" --policy-path=.snyk --exclude=dist,build,.turbo,coverage,.agents-work",
"snyk:code": "snyk code test --org=cellixjs --remote-repo-url=https://github.com/CellixJs/cellixjs",
"snyk:code:report": "snyk code test --org=cellixjs --remote-repo-url=https://github.com/CellixJs/cellixjs --target-reference=main --project-name=cellixjs-code --report",
"snyk:iac": "snyk iac test iac/build/**/*.json --org=cellixjs --remote-repo-url=https://github.com/CellixJs/cellixjs",
"snyk:iac:report": "snyk iac test iac/build/**/*.json --org=cellixjs --remote-repo-url=https://github.com/CellixJs/cellixjs --target-reference=main --target-name=cellixjs-iac --report",
"analyze": "pnpm dlx @e18e/cli analyze",
"prepare": "husky",
"edgescan:run": "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"
},
"devDependencies": {
"@amiceli/vitest-cucumber": "^6.3.0",
"@ant-design/cli": "^6.3.5",
"@biomejs/biome": "2.4.10",
"@cellix/graphql-codegen": "workspace:*",
"@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.59.0",
"@sonar/scan": "^4.3.0",
"@types/node": "catalog:",
"@typescript/native-preview": "catalog:",
"@vitest/coverage-istanbul": "catalog:",
"azurite": "^3.35.0",
"chrome-devtools-mcp": "^0.21.0",
"concurrently": "^9.1.2",
"husky": "^9.1.7",
"knip": "^5.64.2",
"portless": "0.11.1",
"rimraf": "^6.0.1",
"snyk": "^1.1300.2",
"ts-scope-trimmer-plugin": "^1.0.2",
"turbo": "2.9.9",
"typescript": "catalog:",
"vitest": "catalog:"
},
"engines": {
"node": "22.22.2"
}
}