-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.25 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.25 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
{
"name": "read-more-less-react",
"version": "1.2.0",
"description": "React component for long texts that need read-more/read-less functionality",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"types": "dist/index.d.ts",
"keywords": [
"react",
"read more",
"read less",
"read more/less"
],
"scripts": {
"build": "rm -rf dist/ && rollup -c && for f in index.css index.es.css index.min.css index.es.min.css; do cp src/lib/index.css dist/$f; done",
"test": "jest"
},
"files": [
"dist"
],
"author": "Mukut Brahma",
"license": "MIT",
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"roots": [
"<rootDir>/src"
]
},
"peerDependencies": {
"react": "^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^12.3.0",
"@types/jest": "^29.5.0",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rollup": "^4.0.0",
"ts-jest": "^29.1.0",
"tslib": "^2.8.1",
"typescript": "^5.0.0"
}
}