-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.14 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
{
"name": "use-active-detect",
"version": "1.0.1",
"description": "hook for detecting when a user is active.",
"author": "https://github.com/yyz945947732/use-active-detect",
"license": "MIT",
"repository": "https://github.com/yyz945947732/use-active-detect/use-active-detect",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"files": [
"dist"
],
"scripts": {
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build": "rollup -c && tsc -d --emitDeclarationOnly --noEmit false --declarationDir dist",
"start": "rollup -c -w",
"prepare": "npm run build",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build"
},
"dependencies": {
"lodash.throttle": "^4.1.1"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/runtime": "^7.3.1",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^5.0.2",
"@rollup/plugin-url": "^5.0.1",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^23.3.13",
"@types/lodash.throttle": "^4.1.7",
"@types/react": "^16.14.46",
"babel-eslint": "^10.1.0",
"cross-env": "^5.2.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-react": "^13.0.0",
"gh-pages": "^2.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^3.4.0",
"react-test-renderer": "^18.2.0",
"rollup": "^2.26.9",
"rollup-plugin-peer-deps-external": "^2.2.0",
"tslib": "^2.0.1",
"typescript": "^5.2.2"
},
"bugs": {
"url": "https://github.com/yyz945947732/use-active-detect/issues",
"email": "[email protected]"
},
"keywords": [
"react",
"hooks",
"active",
"activity",
"use-idle",
"idle",
"interaction",
"detect"
]
}