UNPKG

react-native-zoom-toolkit

Version:

Most complete set of pinch to zoom utilites for React Native

183 lines (182 loc) 4.48 kB
{ "name": "react-native-zoom-toolkit", "version": "5.0.0", "description": "Most complete set of pinch to zoom utilites for React Native", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-zoom-toolkit-example", "docs": "yarn workspace react-native-zoom-toolkit-docs", "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli lib", "prepare": "bob build", "release": "release-it" }, "keywords": [ "zoom", "zoomable", "zoomable-view", "pan", "pinch", "pinch-to-zoom", "double-tap", "gallery", "lightbox", "image-gallery", "image-cropper", "react-native", "react-native-zoomable", "react-native-image-zoom", "react-native-zoomable-view" ], "repository": { "type": "git", "url": "git+https://github.com/Glazzes/react-native-zoom-toolkit.git" }, "author": "Glazzes <santiagop1@protonmail.com> (https://github.com/Glazzes)", "license": "MIT", "bugs": { "url": "https://github.com/Glazzes/react-native-zoom-toolkit/issues" }, "homepage": "https://glazzes.github.io/react-native-zoom-toolkit/", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@babel/plugin-proposal-export-namespace-from": "^7.18.9", "@babel/preset-env": "^7.24.0", "@babel/runtime": "^7.24.0", "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native/eslint-config": "^0.72.2", "@release-it/conventional-changelog": "^5.0.0", "@testing-library/jest-native": "^5.4.3", "@testing-library/react-native": "^12.4.3", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.70.0", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.7.0", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.1", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.73.4", "react-native-builder-bob": "^0.20.0", "react-native-gesture-handler": "^2.20.0", "react-native-reanimated": "^3.16.1", "react-test-renderer": "18.2.0", "release-it": "^15.11.0", "typescript": "^5.0.2" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-gesture-handler": ">= 2.19.0", "react-native-reanimated": ">= 2.x.x" }, "workspaces": [ "example", "docs" ], "packageManager": "yarn@3.6.1", "engines": { "node": ">= 18.0.0" }, "jest": { "preset": "react-native", "testTimeout": 10000, "setupFilesAfterEnv": [ "./jest-setup.js" ], "setupFiles": [ "./node_modules/react-native-gesture-handler/jestSetup.js" ], "transformIgnorePatterns": [ "/node_modules/(?!react-native-reanimated)\\/.*$" ], "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }