UNPKG

react-compound-timer

Version:

React hooks for timers, countdowns, and stopwatches.

55 lines (54 loc) 1.59 kB
{ "name": "react-compound-timer", "version": "2.0.5", "description": "React hooks for timers, countdowns, and stopwatches.", "main": "./dist/cjs/react-compound-timer.cjs", "module": "./dist/react-compound-timer.legacy-esm.js", "types": "./dist/react-compound-timer.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/react-compound-timer.d.ts", "import": "./dist/react-compound-timer.mjs", "default": "./dist/cjs/react-compound-timer.cjs" } }, "keywords": [ "react", "timer", "countdown", "compound", "stopwatch", "hooks" ], "homepage": "https://github.com/volkov97/react-compound-timer", "scripts": { "build": "rm -rf dist && tsup", "check": "npm run typeсheck && npm run lint && npm run test", "test": "jest --coverage", "lint": "eslint .", "typeсheck": "tsc --noEmit", "prepublishOnly": "npm run check && npm run build" }, "author": "German Volkov <volkov.german.1997@gmail.com> (https://volkov97.com)", "license": "ISC", "devDependencies": { "@types/jest": "29.5.3", "@types/react": "18.2.17", "@types/react-dom": "18.2.7", "@typescript-eslint/eslint-plugin": "6.2.0", "@typescript-eslint/parser": "6.2.0", "eslint": "8.46.0", "eslint-plugin-react": "7.33.0", "jest": "29.6.2", "jest-environment-jsdom": "29.6.2", "react": "18.2.0", "react-dom": "18.2.0", "ts-jest": "29.1.1", "tsup": "7.2.0", "typescript": "5.1.6" }, "peerDependencies": { "react": "^16.8.0 || ^17 || ^18" } }