-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 loc) · 1.36 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
{
"name": "shadcn-ui-monorepo",
"version": "0.0.1",
"private": true,
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint",
"test": "turbo test",
"type-check": "turbo type-check",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
"prepare": "husky",
"clean": "rm -rf .turbo && find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + && find . -name '.next' -type d -prune -exec rm -rf '{}' + && rm -f package-lock.json + && pnpm install"
},
"devDependencies": {
"@workspace/eslint-config": "workspace:*",
"@workspace/typescript-config": "workspace:*",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"prettier": "^3.4.2",
"turbo": "^2.4.1",
"typescript": "5.5.4"
},
"packageManager": "pnpm@9.12.3",
"engines": {
"node": ">=20"
},
"lint-staged": {
"apps/api/**/*.{js,ts}": [
"prettier --write",
"turbo lint --filter=./apps/api --",
"turbo type-check --filter=./apps/api --",
"turbo test --filter=./apps/api --"
],
"apps/web/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"turbo lint --filter=./apps/web --",
"turbo type-check --filter=./apps/web --"
],
"packages/ui/src/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"turbo lint --filter=@workspace/ui --",
"turbo type-check --filter=@workspace/ui --"
],
"**/*.{json,md,yml,yaml}": [
"prettier --write"
]
}
}