UNPKG

react-photoswipe-gallery

Version:
181 lines 4.91 kB
{ "name": "react-photoswipe-gallery", "version": "3.1.1", "description": "React component wrapper around PhotoSwipe", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "files": [ "dist/**/*", "src/**/*", "!src/__tests__/**/*", "!src/storybook/**/*" ], "keywords": [ "photoswipe", "react", "gallery" ], "repository": { "type": "git", "url": "https://github.com/dromru/react-photoswipe-gallery.git" }, "homepage": "https://github.com/dromru/react-photoswipe-gallery", "bugs": "https://github.com/dromru/react-photoswipe-gallery/issues", "license": "MIT", "scripts": { "build-ts": "rimraf dist && tsc --project tsconfig.build.json", "patch-import": "babel dist --out-dir dist --no-babelrc --plugins=babel-plugin-add-import-extension", "build": "yarn build-ts && yarn patch-import", "start": "yarn build-ts --watch", "test": "jest", "prepublish": "yarn build", "type-check": "tsc --project tsconfig.json", "lint": "eslint", "lint-all": "yarn lint \"**/*.{js,jsx,ts,tsx}\"", "commit": "git-cz", "prettify": "prettier", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "release": "standard-version", "_postinstall": "husky install", "prepack": "pinst --disable", "postpack": "pinst --enable" }, "devDependencies": { "@babel/cli": "7.25.9", "@babel/core": "7.26.0", "@commitlint/cli": "18.6.1", "@commitlint/config-conventional": "18.6.3", "@commitlint/prompt": "18.6.1", "@storybook/addon-essentials": "7.6.20", "@storybook/addons": "7.6.17", "@storybook/api": "7.6.17", "@storybook/components": "7.6.20", "@storybook/core-events": "7.6.20", "@storybook/react": "7.6.20", "@storybook/react-webpack5": "7.6.20", "@storybook/source-loader": "7.6.20", "@storybook/theming": "7.6.20", "@testing-library/dom": "9.3.4", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "14.3.1", "@testing-library/user-event": "14.5.2", "@types/jest": "29.5.14", "@types/prop-types": "15.7.13", "@types/react": "18.2.78", "@types/react-dom": "18.2.25", "@types/testing-library__dom": "7.5.0", "@types/testing-library__jest-dom": "5.14.9", "@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/parser": "6.21.0", "babel-loader": "9.2.1", "babel-plugin-add-import-extension": "1.6.0", "babel-plugin-named-exports-order": "0.0.2", "commitizen": "4.3.1", "core-js": "3.39.0", "eslint": "8.57.1", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "8.10.0", "eslint-import-resolver-node": "0.3.9", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "7.37.2", "eslint-plugin-react-hooks": "4.6.2", "eslint-plugin-storybook": "0.11.0", "husky": "8.0.3", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "lint-staged": "15.2.10", "photoswipe": "5.4.4", "photoswipe-dynamic-caption-plugin": "dimsemenov/photoswipe-dynamic-caption-plugin", "pinst": "3.0.0", "prettier": "2.8.8", "prop-types": "15.8.1", "react": "18.2.0", "react-dom": "18.2.0", "rimraf": "5.0.10", "standard-version": "9.5.0", "storybook": "7.6.20", "storybook-dark-mode": "3.0.3", "ts-jest": "29.2.5", "ts-loader": "9.5.1", "typescript": "5.4.5", "util": "0.12.5", "webpack": "5.91.0" }, "peerDependencies": { "photoswipe": ">= 5.2.2", "prop-types": ">= 15.7.0", "react": ">= 16.8.0" }, "resolutions": { "webpack": "5.91.0" }, "author": "Ivan Rudoy <rudooy@gmail.com>", "config": { "commitizen": { "path": "@commitlint/prompt" } }, "standard-version": { "scripts": { "postchangelog": "sed -r -e 's/^#{1,3} \\[/## [/' -i '' CHANGELOG.md" }, "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "perf", "section": "Optimizations" }, { "type": "chore", "hidden": true }, { "type": "refactor", "hidden": true }, { "type": "docs", "hidden": true }, { "type": "test", "hidden": true }, { "type": "style", "hidden": true } ] }, "jest": { "collectCoverage": true, "transform": { "^.+\\.tsx?$": [ "ts-jest", { "tsconfig": { "esModuleInterop": true } } ] } }, "packageManager": "yarn@4.1.1" }