This commit is contained in:
2026-11-21 22:57:24 +08:00
commit 4bce6dd47e
209 changed files with 11072 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
{
"name": "@dg/ui-react",
"version": "1.0.0",
"type": "module",
"files": [
"dist"
],
"sideEffects": [
"*.css"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./index.css": "./dist/index.css"
},
"scripts": {
"build": "vite build",
"dev": "npm run build && vite dev"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@microsoft/api-extractor": "^7.60.1",
"@types/node": "^24.19.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"eslint": "^10.15.0",
"eslint-plugin-react-hooks": "^7.1.1",
"glob": "^14.0.6",
"globals": "^17.14.0",
"prettier": "^3.10.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"tinyglobby": "^0.2.17",
"ts-node": "^10.9.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.73.0",
"unplugin-dts": "^1.1.2",
"vite": "^8.3.4"
},
"dependencies": {
"@floating-ui/react": "^0.27.20",
"react-hotkeys-hook": "^5.3.3"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}