This commit is contained in:
2026-11-29 08:33:05 +08:00
parent 6377409adc
commit 853c947a25
4 changed files with 106 additions and 15 deletions
+18 -12
View File
@@ -13,22 +13,13 @@
"docs/[^.]*",
"doc/[^.]*"
],
"module": "index.js",
"typings": "index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"./index.css": "./dist/index.css"
},
"scripts": {
"build": "tsc --project tsconfig.build.json"
"build": "vite build && tsc --project tsconfig.build.json"
},
"dependencies": {
"@floating-ui/react": "^0.27.20",
@@ -37,7 +28,22 @@
"devDependencies": {
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/react-dom": "^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",
"@vitejs/devtools": "^0.8.3",
"@vitejs/devtools-rolldown": "^0.8.3",
"@vitejs/devtools-vite": "^0.8.3",
"@vitejs/plugin-react": "^6.3.0",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^10.15.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.8",
"globals": "^17.14.0",
"typescript": "~6.0.3",
"typescript-eslint": "^8.73.0"
},
"peerDependencies": {
"react": "^19.3.1",