forked from pablosichert/react-show-more
-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
89 lines (89 loc) · 3.01 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
84
85
86
87
88
89
{
"name": "react-show-more-text",
"version": "1.7.1",
"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 --source-maps",
"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": "./node_modules/.bin/jest",
"test:watch": "./node_modules/.bin/jest --watch",
"travis": "npm run compile && npm run test",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"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 - 18.x"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.4.22",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-webpack4": "^6.5.12",
"@storybook/manager-webpack4": "^6.5.12",
"@storybook/react": "^6.1.21",
"@storybook/testing-library": "^0.0.13",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.5",
"babel-preset-minify": "^0.5.1",
"canvas": "^2.8.0",
"core-js": "^3.6.5",
"coveralls": "^3.0.7",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^8.24.0",
"eslint-config-onelint": "^3.0.0",
"eslint-config-onelint-react": "^2.0.1",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.8.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"jest-enzyme": "^4.2.0",
"nyc": "^14.1.1",
"onchange": "^6.1.1",
"react": "^16.14.0",
"react-dom": "^16.14.0"
},
"dependencies": {
"prop-types": "^15.7.2"
},
"browserslist": "> 0.25%, not dead"
}