forked from TDesignOteam/tdesign-web-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 3.93 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
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
{
"name": "tdesign-web-components",
"purename": "tdesign",
"private": true,
"version": "0.0.1-alpha.0",
"type": "module",
"main": "lib/index.js",
"module": "lib/index.js",
"author": "tdesign",
"license": "MIT",
"scripts": {
"start": "npm run dev",
"dev": "npm run generate:entry && cd site && vite",
"site": "cd site && vite build",
"site:intranet": "cd site && vite build --mode intranet",
"site:preview": "cd site && vite build --mode preview && cd ../_site && cp index.html 404.html",
"prebuild": "rimraf es/* lib/* dist/* esm/*",
"build": "cross-env NODE_ENV=production rollup -c script/rollup.config.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",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"sideEffects": [
"dist/*",
"site/**/*.{ts,tsx}",
"src/**/*.{ts,tsx}"
],
"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"
}
},
"dependencies": {
"@babel/runtime": "^7.24.7",
"@popperjs/core": "^2.11.8",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"copy-to-clipboard": "^3.3.3",
"lodash": "~4.17.15",
"omi": "^7.6.17",
"omi-transition": "^0.1.8",
"tailwind-merge": "^2.2.1",
"tdesign-icons-web-components": "^0.1.2"
},
"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",
"@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": "^4.17.5",
"@types/markdown-it": "^13.0.7",
"@types/prismjs": "^1.26.3",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.45.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"gray-matter": "^4.0.3",
"husky": "^9.0.11",
"less": "^4.2.0",
"lint-staged": "^15.2.5",
"markdown-it": "^14.0.0",
"markdown-it-fence": "^0.1.3",
"npm-run-all": "^4.1.5",
"omi-router": "4.1.8",
"omi-suspense": "latest",
"postcss": "^8.4.31",
"prettier": "3.0.3",
"prismjs": "^1.29.0",
"rimraf": "^5.0.7",
"rollup-plugin-analyzer": "^4.0.0",
"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",
"sass": "^1.55.0",
"tailwindcss": "^3.3.3",
"tdesign-icons-view": "^0.2.7",
"tdesign-site-components": "^0.15.2",
"tdesign-theme-generator": "^1.0.15",
"ts-node": "^10.9.1",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-pwa": "^0.20.0",
"vite-plugin-tdoc": "^2.0.4",
"workbox-precaching": "^7.1.0"
}
}