-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 2.35 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": "mochi-workspace",
"version": "0.0.0",
"private": true,
"type": "module",
"license": "MIT",
"description": "mochi monorepo — see PLAN.md and packages/core for the public surface.",
"homepage": "https://github.com/0xchasercat/mochi",
"repository": {
"type": "git",
"url": "git+https://github.com/0xchasercat/mochi.git"
},
"workspaces": [
"packages/behavioral",
"packages/challenges",
"packages/cli",
"packages/consistency",
"packages/core",
"packages/harness",
"packages/inject",
"packages/profiles"
],
"engines": {
"bun": ">=1.1"
},
"scripts": {
"typecheck": "bun run --filter '*' typecheck",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"test": "bun test --bail ./packages ./tests",
"test:contract": "bun test ./tests/contract",
"work": "bun scripts/mochi-work.ts",
"harness:smoke": "bun packages/cli/src/bin.ts harness all",
"harness:full": "bun packages/cli/src/bin.ts harness all --include-online",
"harness:diff": "bun packages/cli/src/bin.ts harness",
"conformance:humanize": "bun test packages/harness/src/conformance/humanize/__tests__/",
"conformance:humanize:online": "MOCHI_ONLINE=1 bun test packages/harness/src/conformance/humanize/__tests__/",
"conformance:stealth": "bun test packages/harness/src/conformance/stealth/__tests__/webdriver-detection.test.ts",
"conformance:stealth:online": "MOCHI_ONLINE=1 bun test packages/harness/src/conformance/stealth/__tests__/",
"codegen": "bun scripts/codegen.ts",
"build": "bun run --filter '*' build",
"changeset": "bunx --bun @changesets/cli",
"version-packages": "bunx --bun @changesets/cli version",
"release": "bun run build && bun scripts/rewrite-workspace-deps.ts && bunx --bun @changesets/cli publish",
"docs:dev": "cd docs/site && bun run dev",
"docs:build": "cd docs/site && bun install && bun run build",
"docs:preview": "cd docs/site && bun run preview",
"prepare": "git config --local core.hooksPath .githooks 2>/dev/null || true"
},
"devDependencies": {
"@biomejs/biome": "^2.3.2",
"@changesets/cli": "^2.27.10",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@types/bun": "latest",
"json-schema-to-typescript": "^15.0.4",
"typescript": "^5.7.0"
}
}