-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.69 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
{
"name": "use-observe-resize",
"description": "React hooks to use ResizeObservers.",
"version": "1.0.1",
"homepage": "https://github.com/coalman/use-observe-resize",
"license": "ISC",
"author": {
"name": "Michael Coleman",
"url": "https://github.com/coalman"
},
"keywords": [
"react",
"resize observer",
"resize observer hook",
"use-resize-observer"
],
"packageManager": "pnpm@6.32.11",
"files": [
"package.json",
"LICENSE",
"dist/esm/**/*",
"dist/cjs/**/*"
],
"sideEffects": false,
"type": "module",
"exports": {
"node": {
"module": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"default": "./dist/esm/index.js"
},
"typesVersions": {
"*": {
"*": [
"dist/esm/*.ts"
]
}
},
"scripts": {
"build": "tsc --build tsconfig.json cjs.tsconfig.json",
"test": "vitest",
"test:pw": "playwright test --config ./test",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --ext .ts,.tsx",
"dev": "vite"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@playwright/test": "1.21.1",
"@testing-library/react": "13.1.1",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/parser": "5.23.0",
"@typescript-eslint/eslint-plugin": "5.23.0",
"@vitejs/plugin-react": "1.3.2",
"eslint": "8.15.0",
"eslint-plugin-react-hooks": "4.5.0",
"happy-dom": "3.1.0",
"playwright": "1.21.1",
"prettier": "2.6.2",
"typescript": "4.6.4",
"react": "18.1.0",
"react-dom": "18.1.0",
"vite": "2.9.7",
"vitest": "0.10.1"
}
}