lightbox.js-react
Version:
React lightbox with animation and customization options
96 lines (95 loc) • 2.85 kB
JSON
{
"name": "lightbox.js-react",
"version": "1.6.2",
"description": "React lightbox with animation and customization options",
"author": "silvia-odwyer",
"license": "GNU General Public License v3.0",
"repository": "https://github.com/silvia-odwyer/lightbox.js",
"homepage": "https://getlightboxjs.com",
"bugs": {
"url": "https://github.com/silvia-odwyer/lightbox.js/issues"
},
"keywords": [
"react",
"lightbox",
"zoom",
"gallery"
],
"engines": {
"node": ">=10"
},
"files": [
"dist/*"
],
"scripts": {
"build": "tsup",
"dev": "vite",
"check-console-log": "eslint --no-inline-config --no-config-lookup --no-ignore --rule \"no-console: error\" \"src/**/*.tsx\"",
"prepublishOnly": "node scripts/publishLibrary.js && npm run build",
"release": "npm publish",
"lint": "eslint -c .eslintrc.cjs ./src/**/*.{ts,tsx}",
"lint:fix": "eslint --fix -c .eslintrc.cjs ./src/**/*.{ts,tsx}",
"pre-commit": "lint-staged"
},
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": {
"types": "./dist/components/*/index.d.ts",
"import": "./dist/components/*/index.mjs",
"require": "./dist/components/*/index.js"
}
},
"peerDependencies": {
"react": "15 - 19",
"react-dom": "15 - 19"
},
"sideEffects": [
"**/*.css"
],
"dependencies": {
"@banzai-inc/react-key-handler": "^1.2.0-beta.6",
"@oemuap/react-magnifier": "^3.0.6",
"@react-hook/resize-observer": "^2.0.2",
"@types/file-saver": "^2.0.7",
"@types/react-portal": "^4.0.7",
"axios": "^1.7.7",
"embla-carousel-react": "^8.3.1",
"exifr": "^7.1.3",
"framer-motion": "11.11.17",
"intrinsic-scale": "^5.0.0",
"js-file-downloader": "^1.1.25",
"react-bootstrap-icons": "^1.11.4",
"react-div-100vh": "^0.7.0",
"react-portal": "^4.2.2",
"react-youtube": "^10.1.0",
"react-zoom-pan-pinch": "^2.1.3",
"usehooks-ts": "^3.1.0"
},
"devDependencies": {
"@eslint/js": "^9.20.0",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"esbuild-css-modules-plugin": "^2.7.1",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.0.3",
"tsup": "^8.0.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0"
}
}