-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.84 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": "stellarlend",
"version": "1.0.0",
"description": "StellarLend monorepo – pre-commit tooling and workspace scripts",
"private": true,
"workspaces": [
"api",
"oracle",
"packages/sdk",
"packages/ui-lending"
],
"scripts": {
"prepare": "husky || true",
"lint:api": "npm run lint --workspace=api",
"format:api": "npm run format --workspace=api",
"typecheck:api": "npm run typecheck --workspace=api",
"lint:oracle": "npm run lint --workspace=oracle",
"format:oracle": "npm run format --workspace=oracle",
"typecheck:oracle": "npm run typecheck --workspace=oracle",
"lint:all": "npm run lint:api && npm run lint:oracle",
"format:all": "npm run format:api && npm run format:oracle",
"typecheck:all": "npm run typecheck:api && npm run typecheck:oracle",
"test:all": "npm run test --workspace=api && npm run test --workspace=oracle",
"build:all": "npm run build --workspace=api && npm run build --workspace=oracle",
"install:all": "npm install --workspaces",
"gas:baseline": "bash scripts/gas-report.sh baseline",
"gas:report": "bash scripts/gas-report.sh report",
"gas:compare": "bash scripts/gas-report.sh compare",
"gas:check": "bash scripts/gas-report.sh check"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"husky": "^9.1.4",
"lint-staged": "^15.2.7"
},
"lint-staged": {
"api/src/**/*.ts": [
"npm run lint --workspace=api --",
"npm run format:check --workspace=api --",
"npm run typecheck --workspace=api"
],
"oracle/src/**/*.ts": [
"npm run lint --workspace=oracle --",
"npm run format:check --workspace=oracle --",
"npm run typecheck --workspace=oracle"
],
"contract/**/*.rs": [
"cargo check --manifest-path contract/Cargo.toml"
]
}
}