-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.36 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 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
34
35
36
37
38
39
40
41
42
43
{
"name": "stellarlend",
"version": "1.0.0",
"description": "StellarLend monorepo – pre-commit tooling and workspace scripts",
"private": true,
"workspaces": [
"api",
"oracle"
],
"scripts": {
"prepare": "husky",
"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"
},
"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"
]
}
}