forked from pablosichert/react-show-more
-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.68 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.68 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
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
84
85
86
87
88
89
{
"name": "react-show-more-text",
"version": "1.7.2",
"type": "module",
"description": "The text surrounded by the component will be truncated. Anything surrounded by the component could be evaluated as text. The component react-show-more-text/ShowMoreText is fork of react-show-more/ShowMore, applied improvements, works with React 16.x.x, added onClick event.",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"build:watch": "vite build --watch",
"clean": "rm -rf dist",
"coverage": "vitest --coverage --run",
"lint": "eslint src/",
"preversion": "npm run test && npm run build",
"report-coverage": "npm run coverage && coveralls < coverage/lcov.info",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "vitest",
"test:watch": "vitest --watch",
"travis": "npm run build && npm run test"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/devzonetech/react-show-more-text.git"
},
"homepage": "https://github.com/devzonetech/react-show-more-text",
"keywords": [
"react",
"show more",
"ellipsis",
"multiline",
"show more text",
"show partial text",
"hide partial text",
"show-more fix",
"show text",
"hide text"
],
"author": "Zdravko Shishmanov <zdrsoft@gmail.com>",
"license": "ISC",
"peerDependencies": {
"react": "16 - 18.x"
},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.10",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^4.1.4",
"@vitest/ui": "^1.0.0",
"@storybook/addon-essentials": "^7.6.10",
"@storybook/addon-interactions": "^7.6.10",
"@storybook/addon-links": "^7.6.10",
"@storybook/react": "^7.6.10",
"@storybook/react-vite": "^7.6.10",
"storybook": "^7.6.10",
"cheerio": "^1.0.0-rc.12",
"eslint": "^8.50.0",
"happy-dom": "^20.9.0",
"jsdom": "^29.0.2",
"onchange": "^7.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"terser": "^5.30.0",
"vite": "^8.0.8",
"vitest": "^4.1.4"
},
"dependencies": {
"prop-types": "^15.7.2"
},
"browserslist": "> 0.25%, not dead"
}