-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 4.79 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 4.79 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
{
"name": "schmock",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"setup": "node scripts/setup-hooks.js",
"clean": "bun run clean:src && bun run clean:dist",
"clean:src": "node scripts/clean-generated.js",
"clean:dist": "rm -rf packages/*/dist",
"build": "bun run clean:src && bun run --filter @schmock/core build && bun run --filter @schmock/faker build && bun run --filter @schmock/express build && bun run --filter @schmock/angular build && bun run --filter @schmock/validation build && bun run --filter @schmock/query build && bun run --filter @schmock/openapi build && bun run --filter @schmock/cli build && bun run --filter @schmock/react build && bun run --filter @schmock/vue build && bun run --filter @schmock/schmock build",
"test": "bun run test:unit && bun run test:bdd",
"test:all": "bun run typecheck && bun run test:unit && bun run test:bdd && bun run test:integration",
"test:all:quiet": "bun run typecheck:quiet && bun run test:unit:quiet && bun run test:bdd:quiet && bun run test:integration:quiet",
"test:unit": "bun run --filter '*' test",
"test:unit:quiet": "bash -c 'set -o pipefail; bun run --filter \"*\" test --reporter=dot 2>&1 | grep -E \"^[·.F]+$|Test Files|Tests |Duration\"'",
"test:bdd": "bun run --filter '*' test:bdd",
"test:bdd:quiet": "bash -c 'set -o pipefail; bun run --filter \"*\" test:bdd --reporter=dot 2>&1 | grep -E \"^[·.F]+$|Test Files|Tests |Duration\"'",
"test:integration": "vitest run --config tests/integration/vitest.config.ts",
"test:integration:quiet": "bash -c 'set -o pipefail; vitest run --config tests/integration/vitest.config.ts --reporter=dot 2>&1 | grep -E \"^[·.F]+$|Test Files|Tests |Duration\"'",
"test:e2e": "vitest run --config tests/e2e/vitest.config.ts",
"test:e2e:quiet": "bash -c 'set -o pipefail; vitest run --config tests/e2e/vitest.config.ts --reporter=dot 2>&1 | grep -E \"^[·.F]+$|Test Files|Tests |Duration\"'",
"test:quiet": "bun run test:all:quiet",
"test:silent": "bun run test:unit:silent && bun run test:bdd:silent",
"test:all:silent": "bun run typecheck:silent && bun run test:unit:silent && bun run test:bdd:silent",
"test:unit:silent": "bun run --filter '*' test > /dev/null 2>&1",
"test:bdd:silent": "bun run --filter '*' test:bdd > /dev/null 2>&1",
"lint": "bun run --filter '*' lint",
"lint:quiet": "bash -c 'set -o pipefail; bun run --filter \"*\" lint 2>&1 | tail -1'",
"lint:silent": "bun run --filter '*' lint > /dev/null 2>&1",
"lint:fix": "bun run --filter '*' lint:fix",
"build:quiet": "bash -c 'set -o pipefail; bun run build 2>&1 | tail -1'",
"build:silent": "bun run build > /dev/null 2>&1",
"typecheck:quiet": "bun run --filter @schmock/core build:types > /dev/null && bun run --filter @schmock/faker build:types > /dev/null && bun run --filter @schmock/express build:types > /dev/null && bun run --filter @schmock/angular build:types > /dev/null && bun run --filter @schmock/validation build:types > /dev/null && bun run --filter @schmock/query build:types > /dev/null && bun run --filter @schmock/openapi build:types > /dev/null && bun run --filter @schmock/cli build:types > /dev/null && bun run --filter @schmock/react build:types > /dev/null && bun run --filter @schmock/vue build:types > /dev/null && bun run --filter @schmock/schmock build:types > /dev/null",
"typecheck:silent": "bun run typecheck > /dev/null 2>&1",
"typecheck": "bun run --filter @schmock/core build:types && bun run --filter @schmock/faker build:types && bun run --filter @schmock/express build:types && bun run --filter @schmock/angular build:types && bun run --filter @schmock/validation build:types && bun run --filter @schmock/query build:types && bun run --filter @schmock/openapi build:types && bun run --filter @schmock/cli build:types && bun run --filter @schmock/react build:types && bun run --filter @schmock/vue build:types && bun run --filter @schmock/schmock build:types",
"bench": "bun run benchmarks/handle-throughput.ts",
"bench:size": "bun run build && bun run benchmarks/bundle-size.ts",
"knip": "knip",
"knip:quiet": "knip --no-progress",
"eslint": "eslint",
"eslint:quiet": "eslint --quiet"
},
"devDependencies": {
"@amiceli/vitest-cucumber": "^6.5.0",
"@arethetypeswrong/cli": "0.18.2",
"@biomejs/biome": "2.4.15",
"@tsconfig/strictest": "2.0.8",
"@types/bun": "1.3.14",
"@types/express": "^5.0.6",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^8.59.4",
"@typescript-eslint/parser": "^8.59.4",
"@vitest/coverage-v8": "^4.1.7",
"bun-types": "1.3.14",
"eslint": "^10.4.0",
"express": "^5.2.1",
"fast-check": "^4.8.0",
"knip": "^6.14.2",
"publint": "0.3.21",
"supertest": "^7.2.2",
"typescript": "6.0.3",
"vitest": "^4.1.7"
}
}