-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.11 KB
/
package.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "root",
"private": true,
"version": "0.0.0-monorepo",
"description": "Pets API monorepo",
"packageManager": "[email protected]",
"engines": {
"pnpm": "9.7.0",
"node": "20.11.0"
},
"scripts": {
"alphabetize": "node scripts/alphabetize.js",
"build": "pnpm -r --parallel --aggregate-output --reporter=append-only --no-bail build",
"check:node": "check-node-version --package",
"clean": "pnpm -r --parallel exec rm -rf node_modules && rm -rf node_modules",
"commit": "cz",
"format": "prettier --write \"{apps,packages}/**/*.{js,jsx,ts,tsx,css,scss,html}\"",
"format:check": "prettier --list-different \"{apps, packages}/**/*.{js,jsx,ts,tsx,css,scss,html}\"",
"lint": "eslint --fix --ext .ts,.tsx,.js,.jsx .",
"preinstall": "pnpm check:node",
"test": "pnpm -r --no-bail test",
"test:ci": "pnpm -r --no-bail --aggregate-output --reporter=append-only test:ci",
"test:snapshot": "pnpm -r --no-bail test:snapshot",
"tsc": "pnpm -r --aggregate-output --reporter=append-only --no-bail tsc"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"check-node-version": "^4.2.1",
"commitizen": "4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.52.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "14.2.8",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"git-cz": "^4.9.0",
"husky": "^9.1.6",
"lint-staged": "15.2.10",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,scss,html}": [
"prettier --write"
],
"*.{ts,tsx,js,jsx}": [
"eslint"
],
"package.json": [
"node scripts/alphabetize.js"
],
"*.tf": [
"terraform fmt"
]
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
}
}