UNPKG

@appinfini/react-cursor-position

Version:

A React component that decorates its children with touch and mouse cursor coordinates, plotted relative to itself.

94 lines 2.98 kB
{ "name": "@appinfini/react-cursor-position", "version": "3.0.31", "description": "A React component that decorates its children with touch and mouse cursor coordinates, plotted relative to itself.", "repository": { "type": "git", "url": "https://github.com/appinfini/react-cursor-position.git" }, "keywords": [ "touch", "tap", "touchmove", "pan", "drag", "mouse", "mousemove", "listener", "observer", "point", "coordinates", "track", "follow" ], "author": "Appinfini Technologies <uma@appinfini.com>", "license": "UNLICENSED", "bugs": { "url": "https://github.com/ethanselzer/react-cursor-position/issues" }, "homepage": "https://github.com/ethanselzer/react-cursor-position#readme", "main": "dist/ReactCursorPosition.js", "module": "dist/es/ReactCursorPosition.js", "jsnext:main": "dist/es/ReactCursorPosition.js", "files": [ "dist", "LICENCE" ], "scripts": { "analyze": "npm run stats && webpack-bundle-analyzer stats.json", "build-umd": "webpack -p", "build-cjs": "cross-env BABEL_ENV=cjs babel src --out-dir dist", "build-es": "babel src --out-dir dist/es", "build": "rimraf dist && npm run build-cjs && npm run build-es && npm run build-umd", "build-watch": "cross-env BABEL_ENV=cjs babel --watch src --out-dir dist", "prepublishOnly": "npm run lint && npm test && npm run build", "lint": "eslint \"@(src|test)/**/*.js\"", "stats": "webpack -p --profile --json > stats.json", "test": "npm run lint && jest", "test-only": "jest", "test-watch": "jest --watch", "test-coverage": "jest --coverage", "test-ci": "npm run test && npm run coveralls", "coveralls": "npm run test-coverage && cat ./coverage/lcov.info | coveralls" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.0.1", "babel-loader": "^7.1.2", "babel-plugin-transform-class-properties": "6.24.1", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-preset-es2015": "6.24.1", "babel-preset-react": "6.24.1", "babel-preset-stage-2": "6.24.1", "coveralls": "^3.0.2", "cross-env": "^5.2.0", "enzyme": "^3.4.4", "enzyme-adapter-react-16": "^1.2.0", "eslint": "^5.4.0", "eslint-config-react-app": "^2.1.0", "eslint-plugin-flowtype": "^2.50.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jsx-a11y": "6.1.1", "eslint-plugin-react": "^7.11.1", "jest": "^23.5.0", "react": "^16.0.0", "react-dom": "^16.0.0", "react-test-renderer": "16.0.0", "rimraf": "^2.6.2", "webpack": "^3.6.0", "webpack-bundle-analyzer": "^2.9.0" }, "peerDependencies": { "react": "~0.14.9 || ^15.0.0 || ^16.0.0" }, "dependencies": { "object-assign": "^4.1.1", "object.omit": "^3.0.0", "prop-types": "^15.6.0" }, "directories": { "example": "example", "test": "test" } }