-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 5.29 KB
/
package.json
File metadata and controls
156 lines (156 loc) · 5.29 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "tdesign-web-components",
"purename": "tdesign",
"version": "1.2.10",
"type": "module",
"main": "lib/index.js",
"module": "lib/index.js",
"author": "tdesign",
"license": "MIT",
"scripts": {
"start": "npm run dev",
"dev": "cd site && vite --force",
"site": "cd site && vite build",
"site:preview": "cd site && vite build --mode preview && cd ../_site && cp index.html 404.html",
"prebuild": "rimraf es/* lib/* dist/* esm/* cjs/*",
"build": "cross-env NODE_ENV=production rollup -c script/rollup.config.js && npm run build:tsc",
"build:analyze": "cross-env NODE_ENV=production ANALYZE=true rollup -c script/rollup.config.js && npm run build:tsc",
"build:analyze:all": "cross-env NODE_ENV=production ANALYZE=true ANALYZE_MODE=all rollup -c script/rollup.config.js && npm run build:tsc",
"build:analyze:umd": "cross-env NODE_ENV=production ANALYZE=true ANALYZE_MODE=umd rollup -c script/rollup.config.js && npm run build:tsc",
"build:analyze:lib": "cross-env NODE_ENV=production ANALYZE=true ANALYZE_MODE=lib rollup -c script/rollup.config.js && npm run build:tsc",
"build:analyze:esm": "cross-env NODE_ENV=production ANALYZE=true ANALYZE_MODE=esm rollup -c script/rollup.config.js && npm run build:tsc",
"analyze": "npm run build:analyze && echo '分析报告已生成到 dist/ 目录'",
"analyze:open": "npm run build:analyze && open dist/stats-umd.html",
"analyze:view": "node script/view-analysis.js",
"build:tsc": "run-p build:tsc-*",
"build:tsc-lib": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir lib/",
"build:tsc-esm": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir esm/",
"build:tsc-cjs": "tsc --emitDeclarationOnly -d -p ./tsconfig.build.json --outDir cjs/",
"preview": "vite preview",
"lint": "eslint --ext .ts,.tsx .",
"lint:fix": "eslint --fix --ext .ts,.tsx .",
"generate:entry": "node ./script/generate-entry.js",
"prepare": "husky",
"test": "echo 'test to do'"
},
"files": [
"esm",
"es",
"lib",
"cjs",
"dist",
"plugins",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"sideEffects": [
"dist/*",
"site/**/*.{ts,tsx}",
"src/**/*.{ts,tsx}",
"cjs/**",
"esm/**",
"lib/**"
],
"lint-staged": {
"src/**/*.{ts,tsx}": [
"prettier --write",
"npm run lint:fix"
],
"site/**/*.{ts,tsx}": [
"prettier --write",
"npm run lint:fix"
]
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@babel/runtime": "^7.24.7",
"@popperjs/core": "^2.11.8",
"cherry-markdown": "0.11.0-alpha-2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.19",
"fast-json-patch": "3.1.1",
"htm": "^3.1.1",
"immer": "^10.1.1",
"lodash-es": "^4.17.21",
"markdown-it-fence": "^0.1.3",
"nanostores": "^0.11.4",
"omi": "^7.7.13",
"omi-transition": "^0.1.11",
"tailwind-merge": "^2.2.1",
"tdesign-icons-web-components": "^0.3.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/types": "^7.26.9",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cz-commitlint": "^19.2.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-url": "^8.0.2",
"@tailwindcss/typography": "^0.5.10",
"@types/lodash-es": "^4.17.12",
"@types/prismjs": "^1.26.3",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"autoprefixer": "^10.4.16",
"cors": "^2.8.5",
"css-loader": "^7.1.2",
"eslint": "^8.45.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"express": "^4.17.3",
"gray-matter": "^4.0.3",
"highlight.js": "^11.11.1",
"husky": "^9.0.11",
"less": "^4.2.2",
"lint-staged": "^15.2.5",
"npm-run-all": "^4.1.5",
"omi-router": "4.1.8",
"omi-suspense": "latest",
"postcss": "^8.4.31",
"postcss-import": "^16.1.0",
"prettier": "3.0.3",
"prismjs": "^1.29.0",
"rimraf": "^5.0.7",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-bundle-analyzer": "^1.6.6",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-ignore-import": "^1.3.2",
"rollup-plugin-multi-input": "^1.4.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-static-import": "^1.0.0",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^6.0.3",
"sass": "^1.55.0",
"tailwindcss": "^3.3.3",
"tdesign-icons-view": "^0.2.7",
"tdesign-site-components": "^0.15.4",
"tdesign-theme-generator": "^1.0.16",
"ts-node": "^10.9.1",
"typescript": "^5.8.2",
"vite": "^4.4.5",
"vite-plugin-pwa": "^0.20.0",
"vite-plugin-tdoc": "^2.0.4",
"workbox-precaching": "^7.1.0"
}
}