UNPKG

react-photoswipe-gallery

Version:

React component wrapper around PhotoSwipe

147 lines 3.76 kB
{ "name": "react-photoswipe-gallery", "version": "1.3.6", "description": "React component wrapper around PhotoSwipe", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*" ], "keywords": [ "photoswipe", "react", "gallery" ], "repository": "dromru/react-photoswipe-gallery", "homepage": "https://github.com/dromru/react-photoswipe-gallery", "bugs": "https://github.com/dromru/react-photoswipe-gallery/issues", "license": "MIT", "scripts": { "build": "rimraf dist && tsc --project tsconfig.json", "start": "yarn build --watch", "test": "jest", "prepublish": "yarn build", "lint": "eslint", "commit": "git-cz", "prettify": "prettier", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", "release": "standard-version", "_postinstall": "husky install", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" }, "devDependencies": { "@babel/core": "7.13.15", "@commitlint/cli": "12.1.1", "@commitlint/config-conventional": "12.1.1", "@commitlint/prompt": "12.1.1", "@storybook/addon-knobs": "6.2.7", "@storybook/addon-storysource": "6.2.7", "@storybook/addons": "6.2.7", "@storybook/builder-webpack5": "6.2.7", "@storybook/react": "6.2.7", "@storybook/source-loader": "6.2.7", "@types/enzyme": "3.10.8", "@types/jest": "26.0.22", "@types/photoswipe": "4.1.1", "@types/prop-types": "15.7.3", "@types/react": "17.0.3", "@typescript-eslint/eslint-plugin": "4.21.0", "@typescript-eslint/parser": "4.21.0", "@wojtekmaj/enzyme-adapter-react-17": "0.6.1", "@yarnpkg/pnpify": "2.4.0", "babel-loader": "8.2.2", "commitizen": "4.2.3", "core-js": "3.10.1", "enzyme": "3.11.0", "enzyme-to-json": "3.6.2", "eslint": "7.24.0", "eslint-config-airbnb": "18.2.1", "eslint-config-prettier": "8.1.0", "eslint-import-resolver-node": "0.3.4", "eslint-plugin-import": "2.22.1", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-prettier": "3.3.1", "eslint-plugin-react": "7.23.2", "eslint-plugin-react-hooks": "4.2.0", "husky": "6.0.0", "jest": "26.6.3", "lint-staged": "10.5.4", "photoswipe": "4.1.3", "pinst": "2.1.6", "prettier": "2.2.1", "prop-types": "15.7.2", "react": "17.0.2", "react-dom": "17.0.2", "rimraf": "3.0.2", "standard-version": "9.2.0", "ts-jest": "26.5.4", "ts-loader": "8.1.0", "typescript": "4.1.5", "webpack": "5.31.2" }, "peerDependencies": { "photoswipe": ">= 4.1.0", "prop-types": ">= 15.7.0", "react": ">= 16.8.0" }, "author": "Ivan Rudoy <rudooy@gmail.com>", "husky": { "hooks": { "pre-commit": "yarn build && lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "config": { "commitizen": { "path": "@commitlint/prompt" } }, "standard-version": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "chore", "section": "Chore" }, { "type": "perf", "section": "Optimizations" }, { "type": "refactor", "hidden": true }, { "type": "docs", "hidden": true }, { "type": "test", "hidden": true }, { "type": "style", "hidden": true } ] }, "jest": { "preset": "ts-jest", "collectCoverage": true, "snapshotSerializers": [ "enzyme-to-json/serializer" ], "setupFilesAfterEnv": [ "<rootDir>jest.setup.js" ] } }