-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.41 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.41 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
{
"name": "react-theme-toggle",
"version": "2.0.0",
"description": "A modern, accessible dark/light theme toggle for React.",
"author": "MagiqueDeveloper",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MagiqueDeveloper/react-theme-toggle.git"
},
"bugs": {
"url": "https://github.com/MagiqueDeveloper/react-theme-toggle/issues"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"dev": "next dev",
"build": "next build",
"build:lib": "tsup",
"lint": "eslint",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"keywords": [
"react",
"theme",
"toggle",
"dark",
"light",
"mode",
"switch",
"dark-mode",
"light-mode"
],
"devDependencies": {
"next": "^16.3.2",
"@tailwindcss/postcss": "^4.3.3",
"@types/node": "^26.2.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.5",
"eslint": "^9",
"eslint-config-next": "^16.3.2",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"tailwindcss": "^4.3.3",
"tsup": "^8.5.1",
"typescript": "^5.9"
}
}