-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.41 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
{
"name": "use-line-clamp",
"description": "React.js hook to detect if text will clamp in X number of lines",
"license": "MIT",
"version": "1.0.2",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"author": {
"email": "victor@vimtor.io",
"name": "Victor Navarro",
"url": "https://vimtor.io"
},
"files": [
"dist/**"
],
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --sourcemap --minify --dts --external react",
"format": "prettier --write \"./**/*.{ts,tsx,md,json}\""
},
"dependencies": {
"lodash.debounce": "^4.0.8",
"react": "^18.2.0",
"use-line-clamp": "^0.1.0"
},
"devDependencies": {
"@types/lodash.debounce": "4.0.7",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"prettier": "2.8.3",
"react-dom": "^18.2.0",
"typescript": "^4.9.3",
"vite": "^4.0.4",
"@vitejs/plugin-react": "3.0.1",
"tsup": "6.5.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"homepage": "https://github.com/vimtor/use-line-clamp#readme",
"repository": {
"type": "git",
"url": "https://github.com/vimtor/use-line-clamp"
},
"bugs": {
"url": "https://github.com/vimtor/use-line-clamp/issues"
},
"keywords": [
"react",
"hook",
"line clamp",
"show more"
]
}