UNPKG

react-hook-reading-time

Version:
86 lines (85 loc) 2.54 kB
{ "name": "react-hook-reading-time", "version": "1.0.0", "description": "Medium's like reading time estimation for React.", "author": "Bunlong <bunlong.van@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Bunlong/react-hook-reading-time.git" }, "bugs": { "url": "https://github.com/Bunlong/react-hook-reading-time.git/issues" }, "keywords": [ "react", "reactjs", "react-hook-reading-time", "reading-time", "hook", "hooks" ], "homepage": "", "main": "dist/react-hook-reading-time.js", "module": "dist/react-hook-reading-time.es.js", "jsnext:main": "dist/react-hook-reading-time.es.js", "types": "dist/react-hook-reading-time.d.ts", "@comment unpkg": "dist/react-hook-reading-time.umd.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "build": "rollup -c", "@comment prettier": "prettier --write './src/*.ts' './src/*.tsx' --config ./.prettierrc", "prettier": "prettier --write './src/*.ts' './src/utils/*.ts' --config ./.prettierrc", "lint:check": "eslint ./src --ext .tsx,.ts --report-unused-disable-directives", "bundlesize": "npm run build && bundlesize", "dev": "rollup -c -w", "prepare": "npm run build", "predeploy": "cd docs && npm install && npm run build", "deploy": "gh-pages -d docs/build" }, "devDependencies": { "@babel/core": "^7.9.6", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/preset-env": "^7.9.6", "@rollup/plugin-babel": "^5.0.0", "@rollup/plugin-commonjs": "^11.1.0", "@rollup/plugin-node-resolve": "^7.1.3", "@types/react": "^16.9.34", "@types/react-dom": "^16.9.7", "@typescript-eslint/eslint-plugin": "^2.31.0", "@typescript-eslint/parser": "^2.31.0", "bundlesize": "^0.18.0", "eslint": "^7.0.0", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^4.0.0", "mutationobserver-shim": "^0.3.5", "prettier": "^2.0.5", "react": "^16.13.1", "react-dom": "^16.13.1", "rollup": "^2.8.2", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-typescript2": "^0.27.0", "tslib": "^1.11.2", "typescript": "^3.8.3" }, "files": [ "dist" ], "bundlesize": [ { "path": "./dist/react-hook-reading-time.es.js", "maxSize": "50 kB" } ], "peerDependencies": { "react": "^16.13.1", "react-dom": "^16.13.1" }, "browser": { "fs": false } }