-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) Β· 2.98 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) Β· 2.98 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
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
71
72
73
74
75
76
{
"name": "surf-monorepo",
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"lint:fix": "turbo run lint -- --fix",
"format": "pnpm -w exec prettier --write .",
"check-types": "turbo run check-types",
"build:hooks": "turbo run build --filter=@surf/hooks",
"build:utils": "turbo run build --filter=@surf/utils",
"build:ui": "turbo run build --filter=@surf/ui",
"storybook:ui": "turbo run storybook --filter=@surf/ui",
"prepare": "husky",
"dev:surf": "turbo run dev --filter=surf-web",
"build:surf": "turbo run build --filter=surf-web",
"lint:surf": "turbo run lint --filter=surf-web",
"lint:fix:surf": "turbo run lint --filter=surf-web -- --fix",
"storybook:surf": "turbo run storybook --filter=surf-web",
"dev:admin": "turbo run dev --filter=surf-admin",
"dev:mobile": "turbo run dev --filter=surf-mobile",
"build:admin": "turbo run build --filter=surf-admin",
"lint:admin": "turbo run lint --filter=surf-admin",
"lint:mobile": "turbo run lint --filter=surf-mobile",
"lint:fix:admin": "turbo run lint --filter=surf-admin -- --fix",
"check-types:mobile": "turbo run check-types --filter=surf-mobile",
"android:mobile": "pnpm --filter surf-mobile android",
"ios:mobile": "pnpm --filter surf-mobile ios",
"web:mobile": "pnpm --filter surf-mobile web",
"storybook:admin": "turbo run storybook --filter=surf-admin",
"test:web": "pnpm --filter surf-web test",
"test:ui:web": "pnpm --filter surf-web test:ui",
"test:admin": "pnpm --filter surf-admin test",
"test:ui:admin": "pnpm --filter surf-admin test:ui"
},
"lint-staged": {
"apps/web/**/*.{js,jsx,ts,tsx}": [
"pnpm --filter surf-web exec eslint --max-warnings=0 --fix --no-warn-ignored",
"pnpm -w exec prettier --write"
],
"packages/hooks/**/*.{js,jsx,ts,tsx}": [
"pnpm -C packages/hooks exec eslint --max-warnings=0 --fix --no-warn-ignored",
"pnpm -w exec prettier --write"
],
"packages/utils/**/*.{js,jsx,ts,tsx}": [
"pnpm -C packages/utils exec eslint --max-warnings=0 --fix --no-warn-ignored",
"pnpm -w exec prettier --write"
],
"packages/ui/**/*.{js,jsx,ts,tsx}": [
"pnpm -C packages/ui exec eslint --max-warnings=0 --fix --no-warn-ignored",
"pnpm -w exec prettier --write"
],
"apps/mobile/**/*.{js,jsx,ts,tsx}": [
"pnpm --filter surf-mobile exec eslint --max-warnings=0 --fix --no-warn-ignored",
"pnpm -w exec prettier --write"
],
"*.{json,md,css,scss,html}": "pnpm -w exec prettier --write"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@surf/prettier-config": "workspace:*",
"eslint": "^9.39.2",
"husky": "^9.1.7",
"lint-staged": "^16.1.6",
"prettier": "^3.7.4",
"prettier-plugin-tailwindcss": "^0.6.14",
"shx": "^0.4.0",
"turbo": "^2.7.3",
"typescript": "5.9.2"
},
"packageManager": "pnpm@10.15.1",
"engines": {
"node": ">=18"
}
}