-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.34 KB
/
Copy pathpackage.json
File metadata and controls
35 lines (35 loc) · 1.34 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
{
"name": "p2pbot-root",
"version": "2.4.1",
"private": true,
"description": "Root tooling for the p2pbot monorepo (lint, format, commit hooks). Service packages keep their own package.json + lockfiles.",
"scripts": {
"prepare": "husky",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format:check": "prettier --check .",
"format:write": "prettier --write .",
"typecheck": "npm --prefix backend run typecheck && npm --prefix signer run typecheck && npm --prefix ubot run typecheck && npm --prefix utradebot run typecheck && npm --prefix webapp run typecheck && npm --prefix checker run typecheck",
"test": "npm --prefix backend run test && npm --prefix signer run test && npm --prefix ubot run test && npm --prefix utradebot run test && npm --prefix checker run test",
"verify": "npm run typecheck && npm run lint && npm run format:check"
},
"devDependencies": {
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.2",
"@eslint/js": "^9.0.0",
"eslint": "^10.10.0",
"globals": "^17.12.0",
"husky": "^9.0.0",
"lint-staged": "^17.5.1",
"prettier": "^3.0.0",
"typescript-eslint": "^8.0.0"
},
"lint-staged": {
"*.{ts,tsx,js,mjs,cjs,json,md,yml,yaml,html,css}": [
"prettier --write"
],
"*.{ts,tsx,js,mjs,cjs}": [
"eslint --fix"
]
}
}