-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.46 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 2.46 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
{
"name": "spell-monorepo",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"install:dev": "bun install && bun --cwd=packages/coding-agent link && bun --cwd=packages/ai link",
"dev": "bun --cwd=packages/coding-agent src/cli.ts",
"stats": "bun --cwd=packages/coding-agent src/cli.ts stats",
"test": "bun run --workspaces --if-present --parallel test",
"check": "bun run --parallel check:ts check:rs",
"check:ts": "biome check . && tsgo -p tsconfig.json",
"check:rs": "cargo fmt --all -- --check && cargo clippy --workspace -- -D warnings",
"lint": "bun run --parallel lint:ts lint:rs",
"lint:ts": "biome lint .",
"lint:rs": "cargo clippy --workspace -- -D warnings",
"fmt": "bun run --parallel fmt:ts fmt:rs",
"fmt:ts": "biome format --write .",
"fmt:rs": "cargo fmt --all",
"fix": "bun run --parallel fix:ts fix:rs",
"fix:ts": "biome check --write --unsafe . && bun --cwd=packages/coding-agent run format-prompts && bun --cwd=packages/coding-agent run generate-docs-index",
"fix:rs": "cargo fmt --all && cargo clippy --fix --allow-dirty --all-targets --no-deps --allow-staged --broken-code --allow-no-vcs",
"build:native": "bun --cwd=packages/natives run build:native",
"dev:native": "bun --cwd=packages/natives run dev:native",
"bench:gen-fixtures": "bun --cwd=packages/react-edit-benchmark run src/generate.ts --react-dir /tmp/react-source --count-per-type 8",
"bench:edit": "bun --cwd=packages/react-edit-benchmark run start",
"prepublishOnly": "bun run check",
"prepare": "husky && bun --cwd=packages/coding-agent run generate-docs-index",
"publish": "bun run prepublishOnly && npm publish -ws --access public",
"publish:dry": "bun run prepublishOnly && npm publish -ws --access public --dry-run",
"release": "bun scripts/release.ts",
"generate-models": "bun --cwd=packages/ai scripts/generate-models.ts",
"generate-docs-index": "bun --cwd=packages/coding-agent run generate-docs-index",
"generate-template": "bun --cwd=packages/coding-agent run generate-template",
"sync-exports": "bun scripts/sync-exports.ts",
"build:spell": "bash scripts/build-spell-apk.sh"
},
"devDependencies": {
"@biomejs/biome": "^2.4",
"@bufbuild/protoc-gen-es": "^2.11",
"@types/bun": "^1.3",
"@typescript/native-preview": "^7.0.0-dev.20260302.1",
"husky": "9.1.7",
"lint-staged": "^16.3",
"prettier": "^3.8"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,json,jsonc,css}": "biome check --write --no-errors-on-unmatched"
}
}