@anker-in/ui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@anker-in/ui",
3
+ "version": "0.1.0",
4
+ "description": "React UI components with Tailwind CSS",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./demo-room": {
15
+ "types": "./dist/demo-room.d.ts",
16
+ "import": "./dist/demo-room.mjs",
17
+ "require": "./dist/demo-room.js"
18
+ },
19
+ "./theme": {
20
+ "types": "./dist/theme.d.ts",
21
+ "import": "./dist/theme.mjs",
22
+ "require": "./dist/theme.js"
23
+ },
24
+ "./styles.css": "./dist/styles.css"
25
+ },
26
+ "sideEffects": [
27
+ "**/*.css"
28
+ ],
29
+ "files": [
30
+ "dist",
31
+ "README.md"
32
+ ],
33
+ "scripts": {
34
+ "build": "tsup && tailwindcss -i ./src/styles.css -o ./dist/styles.css --minify",
35
+ "dev": "tsup --watch",
36
+ "test": "vitest run",
37
+ "test:watch": "vitest",
38
+ "test:ui": "vitest --ui",
39
+ "lint": "eslint src/",
40
+ "type-check": "tsc --noEmit",
41
+ "clean": "rm -rf dist",
42
+ "prepublishOnly": "pnpm build",
43
+ "release:patch": "npm version patch && npm publish --access public && git push --follow-tags",
44
+ "release:minor": "npm version minor && npm publish --access public && git push --follow-tags",
45
+ "release:major": "npm version major && npm publish --access public && git push --follow-tags"
46
+ },
47
+ "peerDependencies": {
48
+ "react": ">=18.0.0",
49
+ "react-dom": ">=18.0.0"
50
+ },
51
+ "dependencies": {
52
+ "@anker-in/headless-ui": "^1.1.16",
53
+ "antd": "^6.1.1",
54
+ "antd-mobile": "^5.41.1",
55
+ "clsx": "^2.1.0",
56
+ "dayjs": "^1.11.19",
57
+ "swiper": "^12.0.3",
58
+ "tailwind-merge": "^2.2.1"
59
+ },
60
+ "devDependencies": {
61
+ "@anker-in/eslint-config": "workspace:*",
62
+ "@anker-in/tailwind-config": "workspace:*",
63
+ "@anker-in/typescript-config": "workspace:*",
64
+ "@testing-library/jest-dom": "^6.2.0",
65
+ "@testing-library/react": "^14.1.2",
66
+ "@testing-library/user-event": "^14.5.2",
67
+ "@types/react": "^18.2.48",
68
+ "@types/react-dom": "^18.2.18",
69
+ "@vitejs/plugin-react": "^4.2.1",
70
+ "eslint": "^8.56.0",
71
+ "jsdom": "^23.2.0",
72
+ "postcss-prefix-selector": "^2.1.1",
73
+ "react": "^18.2.0",
74
+ "react-dom": "^18.2.0",
75
+ "tailwindcss": "^3.4.1",
76
+ "tsup": "^8.0.1",
77
+ "typescript": "^5.3.3",
78
+ "vitest": "^1.2.1"
79
+ },
80
+ "publishConfig": {
81
+ "access": "public"
82
+ }
83
+ }