-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathpackage.json
More file actions
28 lines (28 loc) · 939 Bytes
/
Copy pathpackage.json
File metadata and controls
28 lines (28 loc) · 939 Bytes
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
{
"name": "stellarkraal",
"version": "1.0.0",
"private": true,
"scripts": {
"test:contract": "cd contracts/stellarkraal && cargo test",
"test:backend": "cd backend && npm test",
"test:frontend": "cd frontend && npm test",
"verify:deployment": "NODE_PATH=./backend/node_modules npx ts-node --project scripts/tsconfig.json scripts/verify-deployment.ts",
"secret:scan": "gitleaks dir --config .gitleaks.toml --redact .",
"secret:scan:staged": "git diff --cached --patch --binary | gitleaks stdin --config .gitleaks.toml --redact",
"prepare": "husky"
},
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^15.5.2"
},
"lint-staged": {
"backend/src/**/*.ts": [
"npx prettier --write",
"npx eslint --max-warnings 0"
],
"frontend/src/**/*.{ts,tsx}": [
"npx --prefix frontend prettier --write",
"npx --prefix frontend eslint --max-warnings 0"
]
}
}