This repository was archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.43 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.43 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "react-interval-hook",
"version": "1.1.3",
"description": "React hook for using self-correcting setInterval, augmented by management methods (start, stop, isActive)",
"author": "minwork",
"license": "MIT",
"homepage": "https://github.com/minwork/react-interval-hook",
"repository": {
"type": "git",
"url": "https://github.com/minwork/react-interval-hook.git"
},
"keywords": [
"interval",
"setInterval",
"react",
"hook",
"self-correcting"
],
"scripts": {
"build": "rimraf dist/* && microbundle --jsx React.createElement --external react --name useInterval --output dist/index.js",
"deploy": "yarn test && yarn build && npm publish",
"test": "jest",
"start": "microbundle watch",
"lint": "eslint src tests --ext .ts,.tsx"
},
"main": "dist/index.js",
"browser": "dist/index.umd.js",
"umd:main": "dist/index.umd.js",
"jsnext:main": "./dist/index.modern.js",
"module": "dist/index.module.js",
"source": "src/index.ts",
"syntax": {
"esmodules": "dist/index.modern.js"
},
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"exports": {
".": {
"browser": "./dist/index.module.js",
"umd": "./dist/index.umd.js",
"import": "./dist/index.module.js",
"require": "./dist/index.js"
}
},
"files": [
"dist/*"
],
"engines": {
"node": ">=10",
"npm": ">=5"
},
"babel": {
"presets": [
"@babel/preset-typescript",
"@babel/preset-env",
"@babel/preset-react"
]
},
"dependencies": {},
"peerDependencies": {
"react": "^16.8.0 || 17.x"
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/plugin-transform-runtime": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^9.1.4",
"@testing-library/react-hooks": "^2.0.1",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.22",
"@types/react": "^16.7.22",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"cross-env": "^5.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"jest": "^26.6.3",
"microbundle": "^0.12.4",
"prettier": "^1.18.2",
"react": "^16.9.0",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.0",
"typescript": "^4.2.4"
}
}