UNPKG

react-text-truncate

Version:
56 lines (55 loc) 1.67 kB
{ "name": "react-text-truncate", "version": "0.19.0", "description": "Truncate text for React.js", "main": "lib/index.js", "scripts": { "build": "babel src/TextTruncate.js -o lib/index.js", "start": "node server.js", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/ShinyChang/react-text-truncate.git" }, "keywords": [ "react", "react-component", "text", "truncate" ], "author": "ShinyChang <contact@shinychang.net> (https://shinychang.net)", "license": "MIT", "bugs": { "url": "https://github.com/ShinyChang/react-text-truncate/issues" }, "homepage": "https://github.com/ShinyChang/react-text-truncate", "devDependencies": { "@babel/cli": "^7.5.5", "@babel/core": "^7.5.5", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/preset-env": "^7.5.5", "@babel/preset-react": "^7.0.0", "babel-loader": "^8.0.4", "babel-plugin-add-module-exports": "^1.0.2", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-es2015-modules-umd": "^6.8.0", "express": "^4.13.4", "react": "^16.2.0", "react-dom": "^16.2.0", "react-transform-catch-errors": "^1.0.2", "react-transform-hmr": "^1.0.4", "redbox-react": "^1.2.3", "webpack": "^4.38.0", "webpack-cli": "^3.3.6", "webpack-dev-middleware": "^3.7.0", "webpack-hot-middleware": "^2.10.0" }, "peerDependencies": { "react": "^15.4.1 || ^16.0.0 || ^17.0.0 || || ^18.0.0", "react-dom": "^15.4.1 || ^16.0.0 || ^17.0.0 || ^18.0.0" }, "dependencies": { "prop-types": "^15.5.7" } }