UNPKG

1.31 kBJSONView Raw
1{
2 "name": "detect-passive-events",
3 "version": "2.0.3",
4 "description": "Detect if the browser supports passive events",
5 "main": "dist/detect-passive-events.cjs.js",
6 "module": "dist/detect-passive-events.esm.js",
7 "types": "dist/index.d.ts",
8 "sideEffects": false,
9 "scripts": {
10 "build": "rollpkg build --addUmdBuild",
11 "watch": "rollpkg watch",
12 "prepublishOnly": "npm run lint && npm test && npm run build",
13 "lint": "eslint src",
14 "test": "jest",
15 "test:watch": "jest --watchAll",
16 "coverage": "npx live-server coverage/lcov-report"
17 },
18 "files": [
19 "dist"
20 ],
21 "repository": {
22 "type": "git",
23 "url": "git+https://github.com/rafgraph/detect-passive-events.git"
24 },
25 "keywords": [
26 "detect",
27 "passive",
28 "passive events"
29 ],
30 "author": "Rafael Pedicini <rafael@rafgraph.dev>",
31 "license": "MIT",
32 "bugs": {
33 "url": "https://github.com/rafgraph/detect-passive-events/issues"
34 },
35 "homepage": "https://detect-it.rafgraph.dev",
36 "devDependencies": {
37 "rollpkg": "^0.4.2",
38 "typescript": "^4.1.5"
39 },
40 "prettier": "rollpkg/configs/prettier.json",
41 "eslintConfig": {
42 "extends": [
43 "./node_modules/rollpkg/configs/eslint"
44 ]
45 },
46 "jest": {
47 "preset": "rollpkg"
48 },
49 "dependencies": {
50 "detect-it": "^4.0.1"
51 }
52}