UNPKG

@antonkolesnik/counter

Version:

React number increase/decrease animation

91 lines (90 loc) 2.63 kB
{ "name": "@antonkolesnik/counter", "author": "Anton Kolesnik <kolesnikanton@icloud.com>", "description": "React number increase/decrease animation", "version": "1.1.0", "license": "MIT", "main": "lib/index.js", "homepage": "https://antonkolesnik.com/counter", "repository": { "type": "git", "url": "https://github.com/kolesnikanton/counter" }, "bugs": { "url": "https://github.com/kolesnikanton/counter/issues" }, "engines": { "node": ">=16", "npm": ">=7" }, "scripts": { "start": "webpack serve", "build:types": "tsc --emitDeclarationOnly", "build:files": "npx babel src/Counter --out-dir lib --delete-dir-on-start --extensions .tsx,.js,.snap --ignore src/**/__tests__ --copy-files --no-copy-ignored", "build": "npm run build:files && npm run build:types", "lint": "eslint . --ext .js,.tsx,.ts", "prepublishOnly": "npm run build", "test": "jest src", "test-coverage": "jest src --coverage", "typecheck": "tsc --pretty --noEmit" }, "dependencies": { "@antonkolesnik/utils": "^1.0.0-beta.4" }, "peerDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@babel/cli": "^7.18.10", "@babel/core": "^7.19.1", "@babel/plugin-transform-typescript": "^7.19.1", "@babel/preset-env": "^7.19.1", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.18.6", "@testing-library/react": "^14.0.0", "@types/jest": "^29.5.12", "@types/react": "^18.0.26", "@types/react-dom": "^18.0.10", "@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/parser": "^6.2.1", "babel-jest": "^29.5.0", "css-loader": "^7.1.2", "eslint": "^8.3.0", "eslint-config-airbnb": "^19.0.0", "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.25.3", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "^7.27.1", "eslint-plugin-react-hooks": "^4.3.0", "html-webpack-plugin": "^5.5.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "style-loader": "^4.0.0", "ts-loader": "^9.4.1", "typescript": "^5.0.4", "webpack": "^5.74.0", "webpack-cli": "^5.0.1", "webpack-dev-server": "^5.1.0" }, "files": [ "lib", "README.md", "package.json" ], "keywords": [ "react", "count-up", "countdown", "counter", "animation", "react-counter", "react-numeric", "react-animation", "smooth-transition", "number-animation", "numeric-animation", "animated-countdown" ] }