react-simple-read-more
Version:
simple readmore library which allows you to hide your long description with read more and read less button
70 lines (69 loc) • 1.91 kB
JSON
{
"name": "react-simple-read-more",
"version": "2.0.1",
"description": "simple readmore library which allows you to hide your long description with read more and read less button",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "rollup -c",
"test": "jest",
"examples": "parcel examples/index.html --port 1234 --no-autoinstall --log-level info",
"prepublishOnly": "npm test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oztek22/react-simple-read-more.git"
},
"keywords": [
"react",
"read-more",
"read-less",
"react-read-more",
"linkify"
],
"author": "Yash Dave (yashndave@gmail.com)",
"license": "ISC",
"peerDependencies": {
"linkify-react": "^4.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.24.0",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.0.0",
"babel-jest": "^29.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"linkify-react": "^4.0.0",
"parcel": "^2.0.0",
"playwright": "^1.61.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4"
},
"overrides": {
"js-yaml": "^4.3.0"
},
"bugs": {
"url": "https://github.com/oztek22/react-simple-read-more/issues"
},
"homepage": "https://github.com/oztek22/react-simple-read-more#readme"
}