-
Notifications
You must be signed in to change notification settings - Fork 129
/
package.json
70 lines (70 loc) · 2.25 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
{
"name": "react-truncate",
"version": "2.4.0",
"description": "React component for truncating multi-line spans and adding an ellipsis",
"main": "lib/Truncate.CommonJS.js",
"module": "lib/Truncate.js",
"files": [
"lib"
],
"scripts": {
"compile": "shx mkdir -p lib && babel ./src --out-file ./lib/Truncate.js && cross-env BABEL_ENV=CommonJS babel ./src --out-file ./lib/Truncate.CommonJS.js",
"coverage": "nyc npm test && nyc report --reporter=text-lcov",
"lint": "eslint .",
"prepublish": "shx rm -rf ./lib && npm run compile",
"preversion": "npm run test",
"report-coverage": "npm run coverage | coveralls",
"test": "cross-env BABEL_ENV=test mocha --require babel-polyfill --require babel-core/register",
"travis": "npm run lint && npm run compile && npm run test"
},
"repository": {
"type": "git",
"url": "[email protected]:pablosichert/react-truncate.git"
},
"homepage": "https://github.com/pablosichert/react-truncate",
"keywords": [
"react",
"truncate",
"ellipsis",
"multiline"
],
"author": "Pablo Sichert <[email protected]>",
"license": "ISC",
"peerDependencies": {
"prop-types": "<= 15.x.x",
"react": "<= 17.x.x"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.6",
"babel-plugin-syntax-async-functions": "^6.13.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"canvas": "^1.6.13",
"common-tags": "^1.8.0",
"coveralls": "^3.1.0",
"cross-env": "^5.2.0",
"eslint": "^4.19.1",
"eslint-config-onelint": "^2.0.0",
"eslint-config-onelint-react": "^2.0.1",
"eslint-plugin-react": "^7.21.5",
"jsdom": "^11.12.0",
"mocha": "^4.1.0",
"nyc": "^11.9.0",
"prop-types": "^15.7.2",
"raf": "^3.4.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"shx": "^0.3.3",
"sinon": "^4.5.0",
"unexpected": "^10.40.2",
"unexpected-dom": "^4.18.0",
"unexpected-react": "^5.0.4",
"unexpected-sinon": "^10.11.2"
}
}