|
1 | 1 | { |
2 | 2 | "name": "@shilong/ui", |
3 | 3 | "version": "0.0.0", |
| 4 | + "packageManager": "pnpm@10.6.3", |
4 | 5 | "description": "A starter for creating a React component library.", |
5 | 6 | "type": "module", |
6 | 7 | "license": "MIT", |
|
20 | 21 | "module": "./dist/index.js", |
21 | 22 | "types": "./dist/index.d.ts", |
22 | 23 | "exports": { |
23 | | - ".": "./dist/index.js", |
| 24 | + ".": { |
| 25 | + "import": "./dist/index.js", |
| 26 | + "types": "./dist/index.d.ts" |
| 27 | + }, |
24 | 28 | "./style": "./dist/global.css", |
25 | 29 | "./package.json": "./package.json" |
26 | 30 | }, |
|
36 | 40 | "release": "bumpp && pnpm publish", |
37 | 41 | "prepublishOnly": "pnpm run build" |
38 | 42 | }, |
| 43 | + "peerDependencies": { |
| 44 | + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", |
| 45 | + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" |
| 46 | + }, |
39 | 47 | "devDependencies": { |
40 | 48 | "@tailwindcss/vite": "^4.1.11", |
41 | 49 | "@testing-library/jest-dom": "^6.6.3", |
|
49 | 57 | "react": "^19.1.0", |
50 | 58 | "react-dom": "^19.1.0", |
51 | 59 | "tailwindcss": "^4.1.11", |
| 60 | + "tw-animate-css": "^1.3.6", |
52 | 61 | "typescript": "^5.8.3", |
53 | 62 | "vite": "^7.1.1", |
54 | 63 | "vite-plugin-dts": "^4.5.4", |
55 | 64 | "vitest": "^3.1.3" |
56 | 65 | }, |
57 | 66 | "dependencies": { |
58 | | - "@shilong/utils": "^0.0.9" |
| 67 | + "@shilong/ui": "link:", |
| 68 | + "class-variance-authority": "^0.7.1" |
| 69 | + }, |
| 70 | + "pnpm": { |
| 71 | + "overrides": { |
| 72 | + "@shilong/ui": "link:" |
| 73 | + } |
59 | 74 | } |
60 | 75 | } |
0 commit comments