-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 1.96 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
{
"name": "react-use-polling",
"version": "1.0.0",
"description": "Polling hooks for React.",
"keywords": [
"react",
"reactjs",
"polling"
],
"homepage": "https://github.com/hey3/react-use-polling#readme",
"bugs": {
"url": "https://github.com/hey3/react-use-polling/issues"
},
"license": "MIT",
"author": "hey3",
"main": "./dist/index.umd.js",
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/hey3/react-use-polling.git"
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
}
},
"sideEffects": false,
"engines": {
"node": ">= 16",
"pnpm": "7"
},
"scripts": {
"dev": "vite",
"prebuild": "rimraf dist",
"build": "tsc && vite build",
"format": "prettier . --check --ignore-unknown",
"format:fix": "prettier . --write --ignore-unknown",
"lint": "eslint . --ext .js,.ts,.tsx",
"lint:fix": "eslint . --fix --ext .js,.ts,.tsx",
"test": "vitest run",
"typecheck": "tsc --project tsconfig.json --pretty --noEmit --emitDeclarationOnly false --incremental false",
"prepare": "npm run build"
},
"peerDependencies": {
"react": ">= 16.8.0"
},
"devDependencies": {
"@testing-library/react": "13.4.0",
"@types/react": "18.0.26",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1",
"@vitejs/plugin-react-swc": "3.0.1",
"eslint": "8.30.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unused-imports": "2.0.0",
"jsdom": "20.0.3",
"prettier": "2.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "3.0.2",
"typescript": "4.9.4",
"vite": "4.0.3",
"vitest": "0.26.2"
}
}