-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
28 lines (28 loc) · 906 Bytes
/
package.json
File metadata and controls
28 lines (28 loc) · 906 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": "@commoncrawl.cc/root",
"version": "0.0.1",
"private": true,
"scripts": {
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"lint": "oxlint --type-aware",
"lint:fix": "oxlint --fix --type-aware",
"openapi:sync": "pnpm --filter @commoncrawl.cc/api openapi:export && pnpm --filter @commoncrawl.cc/web openapi:generate",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"lint-staged": "^16.3.1",
"oxfmt": "^0.35.0",
"oxlint": "^1.50.0",
"oxlint-tsgolint": "^0.15.0",
"simple-git-hooks": "^2.13.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm run openapi:sync && git add packages/api/openapi.json packages/web/src/api/__generated__ && pnpm exec lint-staged"
},
"lint-staged": {
"*": "oxfmt --no-error-on-unmatched-pattern",
"*.{js,jsx,ts,tsx,mjs,cjs}": "oxlint --fix --type-aware"
},
"packageManager": "pnpm@10.28.0"
}