react-truncate-html
Version:
Truncate multiline HTML with React
46 lines (45 loc) • 1.28 kB
JSON
{
"name": "react-truncate-html",
"version": "0.1.7",
"description": "Truncate multiline HTML with React",
"main": "index.js",
"scripts": {
"prepublish": "(babel Truncate.js) > index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"babel-cli": "^6.5.2",
"babel-core": "^6.17.0",
"babel-plugin-transform-class-properties": "^6.18.0",
"babel-plugin-transform-object-rest-spread": "^6.16.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"prop-types": "^15.6.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jariz/react-truncate-html.git"
},
"keywords": [
"dotdotdot",
"ellipsis",
"shorten",
"summarize",
"react",
"truncate",
"html"
],
"author": "Jari Zwarts",
"license": "MIT",
"bugs": {
"url": "https://github.com/jariz/react-truncate-html/issues"
},
"homepage": "https://github.com/jariz/react-truncate-html#readme",
"dependencies": {
"xss": "^0.3.4"
}
}