-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 3.37 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 3.37 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
{
"name": "api-test-generator",
"version": "0.1.0",
"private": true,
"type": "module",
"workspaces": [
"semantic-graph-extractor",
"path-analyser",
"optional-responses",
"request-validation"
],
"scripts": {
"fetch-spec": "camunda-schema-bundler ${SPEC_REF:+--ref $SPEC_REF} --output-spec spec/bundled/rest-api.bundle.json --output-metadata spec/bundled/spec-metadata.json",
"fetch-spec:ref": "camunda-schema-bundler --ref $SPEC_REF --output-spec spec/bundled/rest-api.bundle.json --output-metadata spec/bundled/spec-metadata.json",
"extract-graph": "npm run build -w semantic-graph-extractor && node semantic-graph-extractor/dist/index.js",
"build:analyser": "npm run build -w path-analyser",
"build:request-validation": "npm run build -w request-validation",
"generate:scenarios": "npm run build:analyser && node path-analyser/dist/src/index.js",
"generate:request-validation": "npm run generate -w request-validation && npm run biome:fix-generated:request-validation",
"generate:request-validation:shallow": "npm run generate:shallow -w request-validation && npm run biome:fix-generated:request-validation",
"codegen:playwright": "npm run build:analyser && node path-analyser/dist/src/codegen/index.js && npm run biome:fix-generated:codegen",
"codegen:playwright:all": "npm run build:analyser && node path-analyser/dist/src/codegen/index.js --all && npm run biome:fix-generated:codegen",
"test:pw": "npm run test:pw:path-analyser && npm run test:pw:request-validation",
"test:pw:path-analyser": "npx playwright test -c path-analyser/playwright.config.ts",
"test:pw:request-validation": "npx playwright test -c request-validation/generated/playwright.config.ts",
"testsuite:generate": "npm run extract-graph && npm run generate:scenarios && npm run codegen:playwright:all",
"testsuite:observe:run": "npm run codegen:playwright:all && npm run test:pw:path-analyser && npm run observe:aggregate",
"observe:aggregate": "npm run build:analyser && node path-analyser/dist/src/scripts/aggregate-observations.js",
"optional-responses": "node optional-responses/report.js",
"pipeline": "npm run fetch-spec && npm run testsuite:generate && npm run generate:request-validation",
"lint": "biome check",
"lint:fix": "biome check --write",
"lint:generated": "biome check --config-path=biome.generated.json path-analyser/dist/generated-tests request-validation/generated",
"biome:fix-generated": "npm run biome:fix-generated:codegen && npm run biome:fix-generated:request-validation",
"biome:fix-generated:codegen": "biome check --config-path=biome.generated.json --write --unsafe path-analyser/dist/generated-tests",
"biome:fix-generated:request-validation": "biome check --config-path=biome.generated.json --write --unsafe request-validation/generated",
"format": "biome format --write",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^12.0.0",
"@biomejs/biome": "2.4.12",
"@playwright/test": "^1.54.2",
"@types/js-yaml": "^4.0.9",
"@types/node": "^24.0.0",
"assert-json-body": "^1.7.1",
"camunda-schema-bundler": "^2.1.0",
"js-yaml": "^4.1.0",
"prettier": "^3.2.5",
"rimraf": "^6.0.0",
"tsx": "^4.7.0",
"typescript": "^5.5.4",
"vitest": "4.1.5",
"yaml": "^2.5.0"
},
"engines": {
"node": ">=22.0.0"
}
}