This commit is contained in:
2026-11-29 23:46:33 +08:00
parent 94b38931d7
commit 215d6d1253
42 changed files with 369 additions and 8367 deletions
+14 -16
View File
@@ -1,39 +1,36 @@
{
"name": "@dg/ui-react",
"version": "1.0.0",
"private": true,
"version": "0.0.0",
"type": "module",
"license": "MIT",
"sideEffects": [
"*.css"
],
"files": [
"dist/[^.]*",
"types/[^.]*",
"docs/[^.]*",
"doc/[^.]*"
"dist",
"types",
"docs",
"doc"
],
"module": "index.js",
"browser": "index.umd.js",
"typings": "index.d.ts",
"exports": {
"./index.css": "./dist/index.css"
},
"scripts": {
"build": "vite build && tsc --project tsconfig.build.json"
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@floating-ui/react": "^0.27.20",
"react-hotkeys-hook": "^5.4.0"
},
"devDependencies": {
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@babel/core": "^7.29.13",
"@eslint/js": "^10.0.1",
"@rolldown/plugin-babel": "^0.3.1",
"@types/babel__core": "^7.20.5",
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/devtools": "^0.8.3",
"@vitejs/devtools-rolldown": "^0.8.3",
"@vitejs/devtools-vite": "^0.8.3",
@@ -44,7 +41,8 @@
"eslint-plugin-react-refresh": "^0.5.8",
"globals": "^17.14.0",
"typescript": "~6.0.3",
"typescript-eslint": "^8.73.0"
"typescript-eslint": "^8.73.0",
"vite": "^8.4.0"
},
"peerDependencies": {
"react": "^19.3.1",