forked from devzonetech/react-show-more-text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.28 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
{
"name": "react-show-more-text",
"version": "1.4.2",
"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": "lib/ShowMoreText.js",
"files": [
"lib"
],
"scripts": {
"compile": "./node_modules/.bin/babel src/ShowMoreText.js src/Truncate.js --out-dir lib",
"compile:watch": "onchange \"src/**/*.js\" -- npm run compile --silent",
"coverage": "nyc npm test && nyc report --reporter=text-lcov",
"lint": "eslint .",
"prepublish": "rm -rf ./lib && npm run compile",
"preversion": "npm run test",
"report-coverage": "npm run coverage | coveralls",
"test": "jest --watch",
"travis": "npm run lint && npm run compile && npm run test"
},
"repository": {
"type": "git",
"url": "[email protected]: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 <[email protected]>",
"license": "ISC",
"peerDependencies": {
"react": ">= 16.x.x"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"babel-eslint": "^10.1.0",
"babel-preset-minify": "^0.5.1",
"canvas": "^2.6.1",
"core-js": "^3.6.5",
"coveralls": "^3.0.7",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^4.14.0",
"eslint-config-onelint": "^3.0.0",
"eslint-config-onelint-react": "^2.0.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-react": "^7.16.0",
"jest": "^25.3.0",
"jest-enzyme": "^7.1.2",
"nyc": "^14.1.1",
"onchange": "^6.1.1",
"react": "^16.11.0",
"react-dom": "^16.11.0"
},
"dependencies": {
"@babel/polyfill": "^7.8.7",
"prop-types": "^15.7.2"
},
"browserslist": "> 0.25%, not dead"
}