UNPKG

react-quick-pinch-zoom

Version:

A react component that providing multi-touch gestures for zooming and dragging on any DOM element.

76 lines (75 loc) 1.95 kB
{ "name": "react-quick-pinch-zoom", "version": "4.3.0", "main": "cmj/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "peerDependencies": { "react": ">=16.4.0", "react-dom": ">=16.4.0", "tslib": ">=2.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true }, "tslib": { "optional": true } }, "scripts": { "speller": "yaspeller-ci *.md docs/**/*.md", "docs": "npx doctoc docs/api/README.md", "ci": "yarn speller && yarn size && yarn test", "test": "jest --silent", "presize": "yarn build", "size": "size-limit", "prebuild": "rm -rf esm cmj", "build": "tsc --module ES2020 --declaration true --outDir esm && tsc --module CommonJS --outDir cmj", "postbuild": "prettier --write cmj/**/*.js esm/**/*.js esm/**/*.d.ts", "prepublishOnly": "yarn run build" }, "devDependencies": { "@babel/core": "^7.17.7", "@babel/preset-env": "^7.16.11", "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.16.7", "@size-limit/preset-small-lib": "^7.0.8", "@types/jest": "^27.4.1", "@types/react": "^17.0.40", "babel-jest": "^27.5.1", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "jest": "^27.5.1", "prettier": "^2.6.0", "react": "^16.14.0", "react-dom": "^16.14.0", "size-limit": "^7.0.8", "tslib": "^2.3.1", "typescript": "^4.6.2", "yaspeller-ci": "^1.0.2" }, "files": [ "cmj", "esm", "!*.test.*" ], "description": "A react component that providing multi-touch gestures for zooming and dragging on any DOM element.", "author": "David Nrb <offantik@gmail.com>", "license": "MIT", "repository": "retyui/react-quick-pinch-zoom", "keywords": [ "drag", "gesture", "pan", "pinch", "pinchzoom", "react", "reactjs", "touch", "zoom" ] }