theme-switcher-nextjs
Version:
A beautifully designed theme switcher component for Next.js apps based on the Vercel's Geist design system.
64 lines (63 loc) • 1.46 kB
JSON
{
"name": "theme-switcher-nextjs",
"version": "0.1.20",
"type": "module",
"sideEffects": false,
"description": "A beautifully designed theme switcher component for Next.js apps based on the Vercel's Geist design system.",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@swc/core": "^1.3.100",
"@types/node": "^18.19.61",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.0.0",
"tsup": "^8.0.1",
"typescript": "^5.6.3"
},
"dependencies": {
"clsx": "^2.0.0",
"tailwind-merge": "^2.0.0"
},
"peerDependencies": {
"next": ">=13.0.0",
"react": ">=17.0.0",
"react-dom": ">=17.0.0",
"next-themes": ">=0.1.0"
},
"keywords": [
"theme",
"switcher",
"next.js",
"react",
"geist",
"design",
"system",
"component"
],
"author": "Thiago Barbosa",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thiagobarbosa/theme-switcher-nextjs.git",
"directory": "theme-switcher-nextjs"
}
}