UNPKG

react-font-size-by-text-length

Version:
41 lines (40 loc) 998 B
{ "name": "react-font-size-by-text-length", "description": "Dynamic font size component for ReactJS", "keywords": [ "react dynamic font size", "react font size", "fontsize", "dynamic", "change font size", "text length", "font size by text length", "text", "fontsize", "automatic" ], "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/esm/index.d.ts", "version": "0.1.0", "files": [ "/lib" ], "dependencies": { "@types/react": "^17.0.38", "@types/react-dom": "^17.0.11", "react": "^17.0.2", "react-dom": "^17.0.2", "typescript": "^4.5.4" }, "peerDependencies": { "react": "^16.8.0", "react-dom": "^16.8.0" }, "scripts": { "build-lib": "npm run build-lib:esm && npm run build-lib:cjs", "build-lib:esm": "tsc", "build-lib:cjs": "tsc --module commonjs --outDir lib/cjs" }, "repository": "https://github.com/marvinscheffold/react-font-size-by-text-length" }