/
package.json
83 lines (83 loc) · 2.16 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
77
78
79
80
81
82
83
{
"name": "react-use-overflow",
"version": "1.0.1",
"description": "React hook to detect vertical and horizontal overflow on HTML element",
"license": "MIT",
"author": {
"name": "Shahidraza Moulvi",
"url": "https://github.com/shahid7292"
},
"repository": {
"type": "git",
"url": "https://github.com/shahid7292/react-use-overflow.git"
},
"bugs": {
"url": "https://github.com/shahid7292/react-use-overflow/issues"
},
"homepage": "https://github.com/shahid7292/react-use-overflow#readme",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/esm/index.d.ts",
"exports": {
".": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
}
},
"scripts": {
"browser:update": "browserslist --update-db",
"build": "npm run clean:lib && npm run browser:update && npm run build:ts",
"build:ts": "npm run build:tsc:cjs && npm run build:tsc:esm",
"build:tsc:cjs": "tsc --project tsconfig.build.json",
"build:tsc:esm": "tsc --project tsconfig.build.json --module es6 --outDir lib/esm",
"clean:lib": "del-cli --force ./lib"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"browserslist": "^4.23.0",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"typescript": "^5.4.3"
},
"files": [
"README.md",
"lib"
],
"keywords": [
"react-use-overflow",
"react",
"hooks",
"react-hooks",
"overflow",
"use-overflow"
],
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 2 chrome version",
"last 2 firefox version",
"last 2 safari version",
"last 2 edge version"
]
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.5.0"
}
}