react-truncate-list
Version:
Truncate a list of elements with a symbol or component of your choice
43 lines (42 loc) • 1.11 kB
JSON
{
"name": "react-truncate-list",
"version": "1.0.5",
"description": "Truncate a list of elements with a symbol or component of your choice",
"repository": {
"type": "git",
"url": "git+https://github.com/maladr0it/react-truncate-list.git"
},
"author": "bradford.lachlan@gmail.com",
"keywords": [
"truncate",
"truncate list",
"ellipsis",
"react"
],
"license": "ISC",
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsc && tsc -p tsconfig.cjs.json && cp src/styles.css dist/styles.css",
"build:dev": "tsc && cp src/styles.css dist/styles.css",
"dev": "node ./scripts/watch.mjs src 'npm run build:dev'"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"src/",
"package.json",
"CHANGELOG.md"
],
"devDependencies": {
"@types/react": "^19.2.2",
"eslint": "^9.36.0",
"eslint-plugin-react-hooks": "^7.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.45.0"
},
"peerDependencies": {
"react": ">=16.8.x"
}
}