1
0
mirror of synced 2026-03-24 20:18:35 +08:00

feat: 将ui-react中的组件独立成包

This commit is contained in:
roymondchen
2024-08-13 20:35:14 +08:00
committed by roymondchen
parent 60d2b64aa5
commit cab36b49a3
93 changed files with 1772 additions and 741 deletions

View File

@@ -2,7 +2,8 @@
"name": "@tmagic/ui-react",
"version": "1.4.19",
"type": "module",
"main": "src/index.ts",
"main": "dist/tmagic-ui-react.js",
"types": "types/index.d.ts",
"files": [
"src"
],
@@ -14,26 +15,30 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"scripts": {
"react:build": "tsc && vite build"
"build": "vite build"
},
"dependencies": {
"qrcode": "^1.5.0"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0"
"@tmagic/react-button": "workspace:*",
"@tmagic/react-container": "workspace:*",
"@tmagic/react-img": "workspace:*",
"@tmagic/react-iterator-container": "workspace:*",
"@tmagic/react-overlay": "workspace:*",
"@tmagic/react-page": "workspace:*",
"@tmagic/react-page-fragment": "workspace:*",
"@tmagic/react-page-fragment-container": "workspace:*",
"@tmagic/react-qrcode": "workspace:*",
"@tmagic/react-text": "workspace:*"
},
"peerDependencies": {
"@tmagic/core": "workspace:*",
"@tmagic/schema": "workspace:*",
"@tmagic/utils": "workspace:*",
"react": ">=18.3.1",
"react-dom": ">=18.3.1",
"typescript": "*"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": {
"rimraf": "^3.0.2",
"vite": "^5.3.5"
}
}