-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 2.07 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
{
"name": "codesema-tools",
"version": "0.15.0",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "bun run build:contract && bun run build:web && bun run build:cli",
"build:contract": "bun run --cwd packages/contract build",
"build:web": "bun run --cwd packages/web build",
"build:cli": "bun run --cwd packages/cli build",
"dev:web": "bun run --cwd packages/web dev",
"dev:cli": "CODESEMA_DEV_VITE=http://localhost:5173 bun packages/cli/src/index.ts",
"lint": "oxlint",
"knip": "knip",
"audit": "bun audit --audit-level=high",
"typecheck": "bun run build:contract && bun run typecheck:only",
"typecheck:only": "bun run --cwd packages/contract typecheck && bun run --cwd packages/cli typecheck && bun run --cwd packages/web typecheck",
"test": "bun run build:contract && bun run test:only",
"test:only": "bun test --timeout=20000 $(bun -e 'console.log(process.env.CI ? \"\" : \"--parallel=\" + Math.max(1, navigator.hardwareConcurrency >> 1))') packages/cli packages/web packages/contract",
"test:prepush": "bun run build:contract && bun scripts/pre-push-tests.mjs",
"test:coverage": "bun run build:contract && bun scripts/coverage-gate.mjs",
"verify": "bun run build:contract && bun run typecheck:only && bun run test:only",
"prepare": "lefthook install || echo 'WARNING: lefthook install failed — git hooks are NOT active (no gitleaks secret scan, no format/lint on commit). Run `bun run prepare` again once git and lefthook are available.'",
"format": "prettier --write . --cache",
"format:check": "prettier --check . --cache"
},
"engines": {
"node": ">=20"
},
"overrides": {
"nanoid": "^3.3.18",
"postcss": "^8.5.26"
},
"devDependencies": {
"@commitlint/cli": "21.2.2",
"@commitlint/config-conventional": "21.2.2",
"@ianvs/prettier-plugin-sort-imports": "4.7.1",
"@types/bun": "^1.3.14",
"knip": "6.32.2",
"lefthook": "2.1.10",
"oxlint": "1.74.0",
"prettier": "3.9.5",
"publint": "0.3.21",
"unrun": "^0.3.1"
}
}