-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.79 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.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
{
"name": "@cfxdevkit/monorepo",
"private": true,
"version": "1.0.16",
"description": "Conflux DevKit — reusable TypeScript SDK for building on Conflux eSpace and Core Space",
"packageManager": "pnpm@10.11.0",
"scripts": {
"build": "turbo build",
"build:parallel": "pnpm -r build",
"docs:api": "turbo docs:api",
"test": "turbo test",
"test:coverage": "turbo test:coverage",
"type-check": "turbo type-check",
"lint": "biome lint --reporter=summary packages apps",
"lint:fix": "biome check --write packages apps",
"lint:unsafe": "biome check --write --unsafe packages apps",
"format": "biome format --write packages apps",
"check": "biome check --reporter=summary packages apps",
"devkit:build": "pnpm --filter conflux-devkit-ui build && pnpm --filter conflux-devkit build",
"devkit:start": "node devtools/devkit/dist/cli.js",
"devkit:dev": "pnpm --filter conflux-devkit dev:server",
"release": "node scripts/release.mjs",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@vitest/coverage-v8": "^4.0.18",
"lint-staged": "^16.3.3",
"simple-git-hooks": "^2.13.1",
"turbo": "^2.5.0"
},
"pnpm": {
"overrides": {
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5"
},
"onlyBuiltDependencies": [
"esbuild",
"secp256k1"
],
"ignoredBuiltDependencies": [
"bufferutil",
"keccak",
"utf-8-validate"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx,mjs,cjs}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
],
"**/*.{json,jsonc}": [
"biome format --write --no-errors-on-unmatched --files-ignore-unknown=true"
]
}
}