-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.39 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.39 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
{
"name": "react-use-rect",
"version": "2.0.6",
"description": "Hook that is aiming to help you on tracking a DOM element boundaries",
"license": "MIT",
"author": "Vladimir Ivanenko <d521bb85@gmail.com>",
"homepage": "https://github.com/d521bb85/react-use-rect",
"repository": "https://github.com/d521bb85/react-use-rect",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"module": "./dist/index.esm.js",
"files": ["dist", "src"],
"keywords": ["react", "hooks"],
"scripts": {
"install-hooks": "lefthook install",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"lint-and-format": "biome check --write ./src",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch --coverage",
"check": "npm run typecheck && npm run lint-and-format && npm run test",
"start": "npm run test:watch",
"build": "make",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.2 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.4",
"esbuild": "^0.23.1",
"husky": "^9.1.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lefthook": "^1.7.14",
"react": "^18.3.1",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
}
}