react-multi-clamp
Version:
Simple, efficient and easy-to-use multiline text clamp react component. (supports reverse clamp)
58 lines (57 loc) • 1.64 kB
JSON
{
"name": "react-multi-clamp",
"version": "2.0.6",
"description": "Simple, efficient and easy-to-use multiline text clamp react component. (supports reverse clamp)",
"main": "lib/MultiClamp.js",
"scripts": {
"build": "babel src -d lib",
"clean": "rm -rf ./lib",
"dev": "webpack-dev-server",
"lint": "eslint --ext .js,.jsx src/",
"prepublish": "npm run lint && npm run clean && npm run build",
"site": "webpack --output-path site",
"start": "npm run dev",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jackyr/react-multi-clamp.git"
},
"keywords": [
"react",
"multi",
"multiline",
"clamp",
"ellipsis"
],
"author": "jackyr",
"license": "MIT",
"bugs": {
"url": "https://github.com/jackyr/react-multi-clamp/issues"
},
"homepage": "https://github.com/jackyr/react-multi-clamp#readme",
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"css-loader": "^3.2.0",
"eslint": "^6.6.0",
"eslint-plugin-react": "^7.16.0",
"rc-tooltip": "^4.0.0-alpha.2",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"style-loader": "^1.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"dependencies": {
"multi-clamp": "^2.0.2",
"prop-types": "^15.7.2"
}
}