react-night-light
Version:
A React component that simulates a night light with pull-to-toggle functionality
64 lines (63 loc) • 1.46 kB
JSON
{
"name": "react-night-light",
"version": "1.1.6",
"description": "A React component that simulates a night light with pull-to-toggle functionality",
"private": false,
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"dev": "vite",
"build": "vite build && tsc --emitDeclarationOnly --outDir dist",
"build:demo": "vite build --outDir demo --mode demo",
"deploy:demo": "npm run build:demo && gh-pages -d demo",
"prepublishOnly": "npm run build",
"preview": "vite preview"
},
"peerDependencies": {
"@react-spring/web": "^9.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"dependencies": {
"@react-spring/web": "^9.7.3"
},
"devDependencies": {
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.0.0",
"gh-pages": "^6.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.0.0",
"vite": "^5.0.0"
},
"keywords": [
"react",
"night-light",
"toggle",
"ui",
"component",
"animation",
"interactive",
"physics",
"pull-cord"
],
"author": "Liad Zigdon",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/zigliad/react-night-light.git"
},
"homepage": "https://zigliad.github.io/react-night-light",
"bugs": {
"url": "https://github.com/zigliad/react-night-light/issues"
},
"publishConfig": {
"access": "public"
}
}