UNPKG

@stianlarsen/react-light-beam

Version:

A customizable React component that creates a light beam effect using conic gradients. Powered by GSAP for maximum performance. Supports dark mode and various customization options.

69 lines (68 loc) 1.7 kB
{ "name": "@stianlarsen/react-light-beam", "version": "3.1.0", "description": "A customizable React component that creates a light beam effect using conic gradients. Powered by GSAP for maximum performance. Supports dark mode and various customization options.", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "scripts": { "build": "tsup", "dev": "tsup --watch", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build" }, "files": [ "dist", "README.md", "LICENSE" ], "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/stianalars1/react-light-beam.git" }, "keywords": [ "react", "light beam", "conic gradient", "dark mode", "gsap", "scrolltrigger", "scroll animation", "animation" ], "author": "Stian Larsen <stian.larsen@mac.com>", "license": "MIT", "bugs": { "url": "https://github.com/stianalars1/react-light-beam/issues" }, "homepage": "https://stianlars1.github.io/react-light-beam", "dependencies": { "@gsap/react": "^2.1.2", "gsap": "^3.12.5" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "devDependencies": { "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "react": "^19.2.3", "react-dom": "^19.2.3", "tsup": "^8.5.1", "typescript": "^5.5.4" } }