UNPKG

react-fitty

Version:

![React Fitty Example](https://raw.githubusercontent.com/morhogg/react-fitty/main/assets/fitty.gif)

81 lines (80 loc) 1.87 kB
{ "name": "react-fitty", "author": "lucasljj@gmail.com", "module": "dist/react-fitty.esm.js", "keywords": ["fitty", "react", "react-fitty"], "repository": "https://github.com/morhogg/react-fitty", "version": "1.0.1", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "exports": { ".": { "import": "./dist/react-fitty.esm.js", "require": "./dist/index.js" } }, "files": [ "dist" ], "engines": { "node": ">=10" }, "scripts": { "start-server": "cd ./example && yarn start", "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why", "ci": "start-server-and-test 'yarn start-server' http://localhost:1234 'yarn test'" }, "peerDependencies": { "react": ">=16.8" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 140, "tabWidth": 4, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "size-limit": [ { "path": "dist/react-fitty.cjs.production.min.js", "limit": "1.5 KB" }, { "path": "dist/react-fitty.esm.js", "limit": "1.5 KB" } ], "devDependencies": { "@babel/preset-typescript": "^7.12.7", "@size-limit/preset-small-lib": "^4.9.1", "@skypack/package-check": "^0.2.2", "@types/node": "^14.14.16", "@types/puppeteer": "^5.4.2", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "husky": "^4.3.6", "puppeteer": "^5.5.0", "react": "^17.0.1", "react-dom": "^17.0.1", "size-limit": "^4.9.1", "start-server-and-test": "^1.11.6", "tsdx": "^0.14.1", "tslib": "^2.0.3", "typescript": "^4.1.3" }, "dependencies": { "fitty": "2" } }