UNPKG

detect-passive-events

Version:

Detect if the browser supports passive events

53 lines (52 loc) 1.31 kB
{ "name": "detect-passive-events", "version": "2.0.3", "description": "Detect if the browser supports passive events", "main": "dist/detect-passive-events.cjs.js", "module": "dist/detect-passive-events.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { "build": "rollpkg build --addUmdBuild", "watch": "rollpkg watch", "prepublishOnly": "npm run lint && npm test && npm run build", "lint": "eslint src", "test": "jest", "test:watch": "jest --watchAll", "coverage": "npx live-server coverage/lcov-report" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/rafgraph/detect-passive-events.git" }, "keywords": [ "detect", "passive", "passive events" ], "author": "Rafael Pedicini <rafael@rafgraph.dev>", "license": "MIT", "bugs": { "url": "https://github.com/rafgraph/detect-passive-events/issues" }, "homepage": "https://detect-it.rafgraph.dev", "devDependencies": { "rollpkg": "^0.4.2", "typescript": "^4.1.5" }, "prettier": "rollpkg/configs/prettier.json", "eslintConfig": { "extends": [ "./node_modules/rollpkg/configs/eslint" ] }, "jest": { "preset": "rollpkg" }, "dependencies": { "detect-it": "^4.0.1" } }