forked from paritytech/dotns-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.41 KB
/
Copy pathpackage.json
File metadata and controls
34 lines (34 loc) · 1.41 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
{
"name": "dotns-sdk",
"module": "index.ts",
"type": "module",
"private": true,
"license": "MIT",
"scripts": {
"hooks:install": "git config core.hooksPath .githooks",
"prepare": "git config core.hooksPath .githooks || true",
"postinstall": "node scripts/sync-abis.mjs",
"sync:abis": "node scripts/sync-abis.mjs",
"format": "bun run --cwd packages/cli format && bun run --cwd packages/ui format && bun run format:workflows",
"format:fix": "bun run --cwd packages/cli format:fix && bun run --cwd packages/ui format:fix && bun run format:workflows:fix",
"format:workflows": "bunx prettier --check \".github/**/*.{yml,yaml}\"",
"format:workflows:fix": "bunx prettier --write \".github/**/*.{yml,yaml}\"",
"lint": "bun run --cwd packages/cli lint && bun run --cwd packages/ui lint && bun run lint:workflows",
"lint:fix": "bun run --cwd packages/cli lint:fix && bun run --cwd packages/ui lint:fix && bun run lint:workflows",
"lint:workflows": "docker run --rm -e SHELLCHECK_OPTS=\"-e SC2129 -e SC2086 -e SC2193\" -v \"$PWD\":/repo --workdir /repo rhysd/actionlint:latest -color",
"precommit": "bun run format:fix && bun run lint:fix && bun run format && bun run lint"
},
"devDependencies": {
"@types/bun": "latest",
"@types/ws": "^8.18.1"
},
"peerDependencies": {
"typescript": "^5"
},
"workspaces": [
"packages/*"
],
"engines": {
"bun": ">=1.2.6"
}
}