-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.02 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "spoiled",
"description": "Realistic animated <Spoiler /> component for React",
"version": "0.5.1",
"type": "module",
"license": "Unlicense",
"main": "esm/index.js",
"exports": {
".": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
},
"./no-css": {
"types": "./esm/index_unstyled.d.ts",
"default": "./esm/index_unstyled.js"
},
"./style.css": "./esm/style.css"
},
"typesVersions": {
"*": {
".": [
"esm/index.d.ts"
],
"no-css": [
"esm/index_unstyled.d.ts"
]
}
},
"types": "esm/index.d.ts",
"files": [
"esm",
"src",
"README.md"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"bundle": "BUNDLE_LIBRARY=1 vite build",
"preview": "vite preview",
"test": "vitest",
"prepublishOnly": "tsc && npm run bundle"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.17",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"autoprefixer": "^10.4.22",
"clsx": "^2.1.1",
"gif.js": "^0.2.0",
"happy-dom": "^20.0.10",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.7.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-github-btn": "^1.4.0",
"rollup-preserve-directives": "^1.1.3",
"sugar-high": "^0.9.5",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3",
"vite": "^7.2.2",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.9"
},
"dependencies": {
"colord": "^2.9.3"
},
"postcss": {
"plugins": {
"@tailwindcss/postcss": {
"config": "./web/tailwind.config.js"
},
"autoprefixer": {}
}
}
}