Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 2.26 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
{
"name": "chopsticks-monorepo",
"author": "Acala Developers <hello@acala.network>",
"license": "Apache-2.0",
"packageManager": "bun@1.4.4",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"executor"
],
"scripts": {
"lint": "tsc --noEmit --project tsconfig.lint.json && biome check .",
"fix": "biome check --write .",
"prepare": "husky install",
"clean": "bun run --workspaces --if-present clean",
"build": "bun run build-wasm && bun run --filter @acala-network/chopsticks-core build && bun run --filter @acala-network/chopsticks-db build && bun run --filter @acala-network/chopsticks build && bun run --filter @acala-network/chopsticks-utils build && bun run --filter @acala-network/chopsticks-testing build",
"build-wasm": "bun run --filter @acala-network/chopsticks-executor build",
"build:web-test": "bun run build && bun run --filter web-test build",
"check": "cd executor && cargo check --locked",
"test": "LOG_LEVEL=warn vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"coverage:ui": "vitest test --ui --coverage.enabled=true",
"start": "NODE_OPTIONS='--loader ./loader.js --no-warnings' node packages/chopsticks/src/cli.ts",
"script:start": "bun run start",
"release": "node scripts/release.mjs",
"docs:prep": "bun run --workspaces --if-present docs:prep && cp docs/* docs-src",
"docs:dev": "bun run docs:prep && vitepress dev",
"docs:build": "bun run docs:prep && vitepress build",
"docs:preview": "bun run docs:build && vitepress preview",
"publint": "sh ./publint.sh",
"depcheck": "bun run --workspaces --if-present depcheck"
},
"engines": {
"node": ">=v24"
},
"lint-staged": {
"*.{js,ts}": "biome check --write --no-errors-on-unmatched"
},
"devDependencies": {
"@biomejs/biome": "2.6.9",
"@swc/core": "^1.16.22",
"@types/node": "^26.6.6",
"@vitest/coverage-v8": "^5.1.2",
"@vitest/ui": "^5.1.0",
"esbuild": "0.28.2",
"glob": "^14.0.6",
"husky": "^9.1.7",
"semver": "^7.8.6",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typedoc": "^0.28.20",
"typedoc-plugin-markdown": "^4.14.1",
"typescript": "^7.0.2",
"unplugin-swc": "^2.0.0",
"vite": "^8.4.0",
"vite-tsconfig-paths": "^6.1.1",
"vitepress": "^1.6.4",
"vitest": "^5.1.1",
"wasm-pack": "^0.15.1"
}
}