| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- {
- "name": "@d8d/mini-shared-ui-components",
- "version": "1.0.0",
- "type": "module",
- "description": "Taro共享UI组件包",
- "main": "src/index.ts",
- "types": "src/index.ts",
- "exports": {
- ".": {
- "types": "./src/index.ts",
- "import": "./src/index.ts",
- "require": "./src/index.ts"
- },
- "./button": {
- "types": "./src/button.tsx",
- "import": "./src/button.tsx",
- "require": "./src/button.tsx"
- },
- "./avatar-upload": {
- "types": "./src/avatar-upload.tsx",
- "import": "./src/avatar-upload.tsx",
- "require": "./src/avatar-upload.tsx"
- },
- "./card": {
- "types": "./src/card.tsx",
- "import": "./src/card.tsx",
- "require": "./src/card.tsx"
- },
- "./dialog": {
- "types": "./src/dialog.tsx",
- "import": "./src/dialog.tsx",
- "require": "./src/dialog.tsx"
- },
- "./form": {
- "types": "./src/form.tsx",
- "import": "./src/form.tsx",
- "require": "./src/form.tsx"
- },
- "./image": {
- "types": "./src/image.tsx",
- "import": "./src/image.tsx",
- "require": "./src/image.tsx"
- },
- "./input": {
- "types": "./src/input.tsx",
- "import": "./src/input.tsx",
- "require": "./src/input.tsx"
- },
- "./label": {
- "types": "./src/label.tsx",
- "import": "./src/label.tsx",
- "require": "./src/label.tsx"
- },
- "./navbar": {
- "types": "./src/navbar.tsx",
- "import": "./src/navbar.tsx",
- "require": "./src/navbar.tsx"
- },
- "./page-container": {
- "types": "./src/page-container.tsx",
- "import": "./src/page-container.tsx",
- "require": "./src/page-container.tsx"
- },
- "./tab-bar": {
- "types": "./src/tab-bar.tsx",
- "import": "./src/tab-bar.tsx",
- "require": "./src/tab-bar.tsx"
- },
- "./user-status-bar": {
- "types": "./src/user-status-bar.tsx",
- "import": "./src/user-status-bar.tsx",
- "require": "./src/user-status-bar.tsx"
- },
- "./utils/cn": {
- "types": "./src/utils/cn.ts",
- "import": "./src/utils/cn.ts",
- "require": "./src/utils/cn.ts"
- },
- "./utils/platform": {
- "types": "./src/utils/platform.ts",
- "import": "./src/utils/platform.ts",
- "require": "./src/utils/platform.ts"
- },
- "./utils/rpc/rpc-client": {
- "types": "./src/utils/rpc/rpc-client.ts",
- "import": "./src/utils/rpc/rpc-client.ts",
- "require": "./src/utils/rpc/rpc-client.ts"
- },
- "./utils/rpc/response-polyfill": {
- "types": "./src/utils/rpc/response-polyfill.ts",
- "import": "./src/utils/rpc/response-polyfill.ts",
- "require": "./src/utils/rpc/response-polyfill.ts"
- },
- "./utils/rpc/headers-polyfill": {
- "types": "./src/utils/rpc/headers-polyfill.ts",
- "import": "./src/utils/rpc/headers-polyfill.ts",
- "require": "./src/utils/rpc/headers-polyfill.ts"
- },
- "./testing": {
- "types": "./testing/index.ts",
- "import": "./testing/index.ts",
- "require": "./testing/index.ts"
- }
- },
- "scripts": {
- "build": "tsc",
- "dev": "tsc --watch",
- "typecheck": "tsc --noEmit",
- "test": "jest",
- "test:watch": "jest --watch",
- "test:coverage": "jest --coverage",
- "test:components": "jest tests/components"
- },
- "dependencies": {
- "@tarojs/components": "4.1.4",
- "@tarojs/react": "4.1.4",
- "@tarojs/taro": "4.1.4",
- "@radix-ui/react-slot": "^1.2.3",
- "class-variance-authority": "^0.7.1",
- "clsx": "^2.1.1",
- "react": "^18.0.0",
- "react-dom": "^18.0.0",
- "react-hook-form": "^7.62.0",
- "@weapp-tailwindcss/merge": "^1.2.3",
- "hono": "4.8.5"
- },
- "devDependencies": {
- "@testing-library/jest-dom": "^6.8.0",
- "@testing-library/react": "^16.3.0",
- "@testing-library/user-event": "^14.6.1",
- "@types/jest": "^29.5.14",
- "@types/node": "^18",
- "@types/react": "^18.0.0",
- "@types/react-dom": "^18.0.0",
- "jest": "^30.2.0",
- "jest-environment-jsdom": "^29.7.0",
- "ts-jest": "^29.4.5",
- "typescript": "^5.4.5"
- },
- "files": [
- "src",
- "testing"
- ]
- }
|