forked from serkanyersen/ifvisible.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 1.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@promaton/ifvisible.js",
"version": "3.0.1",
"description": "Crossbrowser & lightweight way to check if user is looking at the page or interacting with it. (wrapper around HTML5 visibility api)",
"main": "dist/ifvisible.js",
"scripts": {
"start": "webpack",
"build": "NODE_ENV=production webpack --production",
"lint": "eslint --ext .js,.ts ./src",
"docs": "docco src/*.ts --output docs/docco",
"release": "npm run build && npm run docs && npm publish"
},
"repository": {
"type": "git",
"url": "git://github.com/serkanyersen/ifvisible.js.git"
},
"typescript": {
"definition": "src/ifvisible.ts"
},
"types": "dist/main.d.ts",
"publishConfig": {
"registry": "https://npm.tools.promaton.com/"
},
"keywords": [
"visibility",
"HTML5",
"cross",
"browser",
"api",
"UI",
"idle",
"status",
"mousemove",
"reading",
"mode",
"tab",
"change",
"typescript"
],
"author": "Serkan Yersen <[email protected]> (http://serkan.io/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/serkanyersen/ifvisible.js/issues"
},
"homepage": "https://github.com/serkanyersen/ifvisible.js",
"devDependencies": {
"@types/jest": "^24.0.18",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"docco": "^0.8.0",
"eslint": "^6.2.2",
"eslint-config-airbnb-typescript": "^4.0.1",
"eslint-plugin-import": "^2.18.2",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.4",
"typescript": "^3.6.2",
"webpack": "^4.39.3",
"webpack-shell-plugin": "^0.5.0"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"dependencies": {
"webpack-cli": "^3.3.7"
}
}