-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.76 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
77
78
79
80
{
"private": true,
"packageManager": "pnpm@10.33.0",
"type": "module",
"scripts": {
"init": "git submodule update --init packages/common",
"dev:ui": "pnpm --filter @tdesign/web-components-site dev",
"dev:chat": "pnpm --filter @tdesign/web-components-chat-site dev",
"check:types": "tsc -p packages/vite-config/tsconfig.check.json && node --import tsx/esm ./packages/vite-config/src/cli/prepare.mjs && pnpm --filter @tdesign/web-components-shared build && tsc -p packages/components/tsconfig.check.json && pnpm --filter @tdesign/components build && tsc -p packages/pro-components/chat/tsconfig.check.json && pnpm run check:chat-contracts",
"check:chat-contracts": "node scripts/check-chat-contracts.mjs",
"check:pack": "pnpm run build:chat && node scripts/check-pack.mjs",
"build": "pnpm run build:chat",
"build:ui": "pnpm --filter @tdesign/web-components build",
"build:chat": "pnpm run build:ui && pnpm --filter @tdesign/web-components-chat build",
"lint": "pnpm run check:types && eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest run",
"test:watch": "vitest",
"prepare": "husky"
},
"lint-staged": {
"packages/components/**/*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"packages/pro-components/chat/**/*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"packages/tdesign-web-components/site/**/*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"packages/tdesign-web-components-chat/site/**/*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@commitlint/format": "^20.5.0",
"@eslint/js": "^10.0.1",
"@tailwindcss/typography": "^0.5.20",
"@types/less": "catalog:tooling",
"@types/lodash-es": "^4.17.12",
"@types/node": "catalog:tooling",
"cors": "^2.8.5",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-simple-import-sort": "^12.1.1",
"express": "^4.17.3",
"globals": "^16.2.0",
"husky": "^9.0.11",
"less": "catalog:tooling",
"lint-staged": "^15.2.5",
"omi-router": "4.1.8",
"postcss": "catalog:tooling",
"prettier": "catalog:tooling",
"prismjs": "^1.29.0",
"rimraf": "^5.0.7",
"tailwindcss": "^3.3.3",
"tdesign-icons-view": "catalog:site",
"@tdesign/site-components": "catalog:site",
"@tdesign/theme-generator": "catalog:site",
"tsx": "^4.21.0",
"typescript": "catalog:tooling",
"typescript-eslint": "catalog:tooling",
"vite": "catalog:tooling",
"vitest": "catalog:tooling"
},
"engines": {
"node": ">=22.18.0"
},
"pnpm": {
"overrides": {
"@commitlint/format": "20.5.0"
}
}
}