cursor-position
Version:
Simple module for getting the current mouse position in element or window.
57 lines (56 loc) • 1.23 kB
JSON
{
"name": "cursor-position",
"title": "cursor-position",
"version": "1.0.1",
"description": "Simple module for getting the current mouse position in element or window.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "tsc",
"test": "mocha -r ts-node/register src/test.ts"
},
"keywords": [
"cursor",
"mouse",
"pointer",
"position",
"movement",
"get",
"window",
"touch",
"div",
"web",
"module",
"detect",
"browser",
"mobile"
],
"author": {
"name": "Serhiy Mytrovtsiy",
"email": "mitrovtsiy@ukr.net"
},
"homepage": "https://github.com/exelban/cursor-position",
"repository": {
"type": "git",
"url": "git+https://github.com/exelban/cursor-position.git"
},
"bugs": {
"url": "https://github.com/exelban/cursor-position/issues"
},
"license": "Apache-2.0",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/jsdom": "^12.2.1",
"@types/mocha": "^5.2.5",
"chai": "^4.2.0",
"jsdom": "^13.1.0",
"jsdom-global": "^3.0.2",
"mocha": "^5.2.0",
"mocha.parallel": "^0.15.6",
"ts-node": "^7.0.1",
"typescript": "^3.2.2"
}
}