react-read-more
Version:
React component for truncating multi-line spans and adding an ellipsis
71 lines (70 loc) • 2.07 kB
JSON
{
"name": "react-read-more",
"version": "1.0.0",
"description": "React component for truncating multi-line spans and adding an ellipsis",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"compile": "babel ./src --out-dir ./lib",
"coverage": "nyc npm test && nyc report --reporter=text-lcov",
"lint": "eslint .",
"prepublish": "rimraf ./lib && npm run compile",
"preversion": "npm run test",
"report-coverage": "npm run coverage | coveralls",
"test": "mocha --compilers js:babel-core/register --require babel-polyfill",
"travis": "npm run lint && npm run compile && npm run test"
},
"repository": {
"type": "git",
"url": "git@github.com:huytbt/react-read-more.git"
},
"homepage": "https://github.com/huytbt/react-read-more",
"keywords": [
"react",
"truncate",
"ellipsis",
"readmore",
"multiline"
],
"author": "Huy T. (huytbt@gmail.com)",
"license": "ISC",
"peerDependencies": {
"react": "<= 15.x.x"
},
"devDependencies": {
"babel-cli": "6.16.0",
"babel-eslint": "7.0.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-async-to-generator": "6.16.0",
"babel-plugin-transform-class-properties": "6.16.0",
"babel-plugin-transform-object-rest-spread": "6.16.0",
"babel-polyfill": "6.16.0",
"babel-preset-es2015": "6.16.0",
"babel-preset-react": "6.16.0",
"canvas": "1.5.0",
"common-tags": "1.3.1",
"coveralls": "2.11.14",
"eslint": "3.7.1",
"eslint-config-onelint": "1.1.0",
"eslint-config-onelint-react": "0.0.3",
"eslint-plugin-react": "6.3.0",
"jsdom": "9.6.0",
"mocha": "3.1.0",
"nyc": "8.3.1",
"raf": "3.3.0",
"react": "15.3.2",
"react-addons-test-utils": "15.3.2",
"react-dom": "15.3.2",
"sinon": "1.17.6",
"unexpected": "10.18.1",
"unexpected-dom": "3.1.0",
"unexpected-react": "3.2.4",
"unexpected-sinon": "10.5.0"
},
"dependencies": {
"rimraf": "^2.5.4"
}
}