ev-pos
Version:
relative position of mouse/touch events to element
57 lines (56 loc) • 1.26 kB
JSON
{
"name": "ev-pos",
"version": "1.0.1",
"main": "./src/index.js",
"description": "relative position of mouse/touch events to element",
"author": "stbaer <stbaer.pub@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/stbaer/ev-pos",
"repository": {
"type": "git",
"url": "https://github.com/stbaer/ev-pos.git"
},
"keywords": [
"mouse",
"touch",
"event",
"offset",
"relative",
"position",
"clientX",
"clientY",
"offsetX",
"offsetY",
"pageX",
"pageY",
"getBoundingClientRect"
],
"scripts": {
"jshint": "jshint --reporter=node_modules/jshint-stylish src/*.js",
"test": "browserify test/unit/*.js | browser-run | faucet",
"test-visual": "beefy test/visual/visualtest.js --live"
},
"dependencies": {},
"devDependencies": {
"browser-run": "latest",
"watchify": "latest",
"faucet": "latest",
"jshint-stylish": "latest",
"tape": "latest",
"jshint": "latest"
},
"jshintConfig": {
"node": true,
"browser": true,
"esnext": false,
"bitwise": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"newcap": true,
"noarg": true,
"undef": true,
"unused": "vars",
"strict": true
}
}