@openspacelabs/react-native-zoomable-view
Version:
A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.
212 lines (211 loc) • 4.83 kB
JSON
{
"name": "@openspacelabs/react-native-zoomable-view",
"version": "2.3.1",
"description": "A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"react-native-zoomable-view.podspec",
"!lib/typescript/example",
"!android/build",
"!ios/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"release": "release-it",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods"
},
"keywords": [
"react-native",
"react-component",
"ios",
"android",
"pinch-to-zoom",
"pinch",
"mobile",
"native",
"component",
"view",
"zoom",
"zoomable",
"double",
"tap"
],
"repository": {
"type": "git",
"url": "git+https://github.com/openspacelabs/react-native-zoomable-view.git"
},
"author": "Open Space Labs Inc (https://github.com/openspacelabs)",
"license": "MIT",
"bugs": {
"url": "https://github.com/openspacelabs/react-native-zoomable-view/issues"
},
"homepage": "https://github.com/openspacelabs/react-native-zoomable-view#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"prop-types": "^15.7.2"
},
"devDependencies": {
"@commitlint/config-conventional": "^11.0.0",
"@react-native/eslint-config": "^0.73.0",
"@release-it/conventional-changelog": "^2.0.0",
"@types/jest": "^26.0.0",
"@types/lodash": "^4.17.7",
"@types/react": "^16.9.19",
"@types/react-native": "^0.65.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"commitlint": "^11.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"jest": "^26.0.1",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "17.0.2",
"react-native": "0.68.2",
"react-native-builder-bob": "^0.18.1",
"release-it": "^14.2.2",
"typescript": "^4.9.5"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-native": ">=0.54.0"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn typescript && bob build && git add lib"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"eslintConfig": {
"root": true,
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": 2018
},
"extends": [
"plugin:react-native/all",
"prettier"
],
"plugins": [
"prettier",
"react",
"react-native"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
],
"react-native/no-color-literals": "off"
},
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/strict-type-checked"
],
"parserOptions": {
"project": [
"./tsconfig.json"
]
},
"rules": {
"@typescript-eslint/restrict-template-expressions": [
"error",
{
"allowNumber": true
}
]
}
}
]
},
"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"
}
]
]
}
}