UNPKG

react-truncate-list

Version:

Truncate a list of elements with a symbol or component of your choice

37 lines (36 loc) 958 B
{ "name": "react-truncate-list", "version": "1.0.3", "description": "Truncate a list of elements with a symbol or component of your choice", "repository": "https://github.com/maladr0it/react-truncate-list", "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": "^18.2.8", "typescript": "^5.1.3" }, "peerDependencies": { "react": ">=16.8.x" } }