-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.36 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.36 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
{
"name": "tokenbound-impl",
"private": true,
"scripts": {
"prepare": "husky",
"precommit": "lint-staged && npm run precommit:rust",
"precommit:rust": "node scripts/run-rust-precommit.mjs",
"lint": "npm run lint:js && npm run lint:rust",
"lint:js": "npm run lint --prefix client && npm run lint --prefix tokenbound-client && npm run lint --prefix soroban-client",
"lint:rust": "cargo clippy --manifest-path soroban-contract/Cargo.toml --all-targets --all-features -- -D warnings",
"format:check": "npm run format:check:js && npm run format:check:rust",
"format:check:js": "prettier --check .",
"format:check:rust": "cargo fmt --manifest-path soroban-contract/Cargo.toml --all --check",
"test": "npm run test --prefix soroban-client && cargo test --manifest-path soroban-contract/Cargo.toml --all-targets --all-features"
},
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^15.5.0",
"prettier": "^3.5.3"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,mjs,cjs,md,mdx,json,yml,yaml,css,scss,html}": "prettier --check",
"client/**/*.{js,jsx}": [
"node scripts/run-eslint-on-staged.mjs"
],
"tokenbound-client/**/*.{js,jsx,ts,tsx,mjs,cjs}": [
"node scripts/run-eslint-on-staged.mjs"
],
"soroban-client/**/*.{js,jsx,ts,tsx,mjs,cjs}": [
"node scripts/run-eslint-on-staged.mjs"
]
}
}