UNPKG

react-use-count-up

Version:

A React hook with Typescript typings for animating a number counting up

53 lines (52 loc) 1.46 kB
{ "name": "react-use-count-up", "version": "1.0.2", "description": "A React hook with Typescript typings for animating a number counting up", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "repository": { "type": "git", "url": "https://github.com/move-zig/react-use-count-up.git" }, "scripts": { "test": "jest", "build": "npm run build:esm && npm run build:cjs", "build:esm": "tsc", "build:cjs": "tsc --module commonjs --outDir dist/cjs" }, "keywords": [ "react", "count", "countup", "hook", "typescript" ], "author": "Dave Welsh", "license": "ISC", "peerDependencies": { "react": ">= 16.8", "react-dom": ">= 16.8" }, "devDependencies": { "@babel/core": "^7.15.5", "@babel/preset-env": "^7.15.6", "@babel/preset-typescript": "^7.15.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.1", "@types/jest": "^27.0.2", "@types/react": "^17.0.26", "@types/react-dom": "^17.0.9", "@types/testing-library__jest-dom": "^5.14.1", "@typescript-eslint/eslint-plugin": "^4.32.0", "@typescript-eslint/parser": "^4.32.0", "eslint": "^7.32.0", "eslint-plugin-import": "^2.24.2", "eslint-plugin-jest": "^24.5.0", "eslint-plugin-react": "^7.26.1", "jest": "^27.2.4", "react": "^17.0.2", "react-dom": "^17.0.2", "typescript": "^4.4.3" } }