{"_id":"@aristofanio/react-timekeeper","_rev":"2-b3d631fb1a49430580684c2797bca0d8","name":"@aristofanio/react-timekeeper","dist-tags":{"reacttimekeeper":"2.1.4","latest":"2.1.3"},"versions":{"2.1.3":{"name":"@aristofanio/react-timekeeper","version":"2.1.3","description":"Time picker based on the style of the Google Keep app","main":"./lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/catc/react-timekeeper.git"},"homepage":"https://catc.github.io/react-timekeeper/","keywords":["react","time","time picker","picker","hour","24 hour","minute","react spring"],"author":{"name":"Catalin Covic","email":"catalin.covic@gmail.com"},"license":"MIT","scripts":{"docs:dev":"node ./bin/dev.js","docs:build":"node ./bin/build.js","_clean":"rimraf lib && mkdir lib","_build":"NODE_ENV=production babel src --extensions '.tsx' --extensions '.ts' -d lib","_types":"NODE_ENV=production tsc --emitDeclarationOnly -d --outDir lib --esModuleInterop --jsx react src/index.ts","lib":" npm run _clean && npm run _build & npm run _types","tests:watch":"NODE_ENV=test jest --watch","tests":"NODE_ENV=test jest"},"devDependencies":{"@babel/cli":"^7.4.4","@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.3.3","@emotion/babel-preset-css-prop":"^10.0.14","@hot-loader/react-dom":"^16.13.0","@types/enzyme":"^3.10.3","@types/jest":"^24.0.15","@types/lodash.debounce":"^4.0.6","@types/react":"^16.9.49","@types/react-dom":"^16.8.4","@typescript-eslint/eslint-plugin":"2.0.0","@typescript-eslint/parser":"2.0.0","autoprefixer":"^9.7.4","babel-loader":"^8.0.6","css-loader":"^3.0.0","cssnano":"^4.1.10","enzyme":"^3.10.0","enzyme-adapter-react-16":"^1.14.0","eslint":"^6.0.1","eslint-config-prettier":"^6.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.2","eslint-plugin-react-hooks":"^1.6.1","highlight.js":"^9.15.10","jest":"^24.8.0","jest-watch-typeahead":"^0.4.2","mini-css-extract-plugin":"^0.7.0","node-sass":"^4.12.0","postcss-loader":"^3.0.0","prettier":"^1.18.2","react-hot-loader":"^4.11.1","rimraf":"^2.6.3","sass-loader":"^7.1.0","style-loader":"^0.23.1","typescript":"^3.5.2","webpack":"^4.35.0","webpack-dev-server":"^3.7.2"},"engines":{"node":">=12.16.2"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"dependencies":{"@emotion/core":"^10.0.14","lodash.debounce":"^4.0.8","react-spring":"^8.0.25"},"eslintIgnore":["lib/","docs/build/","node_modules/"],"jest":{"rootDir":"src","testRegex":"(test\\_.*)\\.tsx?$","watchPlugins":["jest-watch-typeahead/filename","jest-watch-typeahead/testname"]},"gitHead":"b0ec2006135df0d7cfdd3b42b47103ddb1d5fe5f","bugs":{"url":"https://github.com/catc/react-timekeeper/issues"},"_id":"@aristofanio/react-timekeeper@2.1.3","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"integrity":"sha512-kXiaec8U5+/fR7Cv5UUdqB8ORgE5Jx7LufYc99+ve+LT6wPlSArVyewYNu/B7q5Q4GEs3WiEoNZa0jagAnXEHQ==","shasum":"d7138f592b1a9400c75d979f39ab1e19c7813c23","tarball":"https://registry.npmjs.org/@aristofanio/react-timekeeper/-/react-timekeeper-2.1.3.tgz","fileCount":1181,"unpackedSize":11075934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCtQQCRA9TVsSAnZWagAA/EIQAIXOoUrnW/NvXAmAgYo/\noAJIcc3zyDbwQ53m/Grzw55h6aKZOQ4zRsUHB3AfEcSPr75dvlALVr0SRHva\nl/czyVK4ZiheXoHguQ25D96EomJ8cul0Sioh46e9D1toPk1vySDtRbB1PQkv\n1zqVIWKkD1ZsY6rlBrG64tVyGs2bh1Gp/p7gikDuCwF6QdkuV/0jPuE/rO+b\n4A63krDHHX021WN55GyHrJ4lGqt97PDrssUiQ/ISQmeM6mIwuVHV90zOC2NW\n58IKcAEAYb2woPQvdxYt/dyoKWFT8J2BtYIAqVi5z9vyjn9vKxvf7OVC5ViP\nis5L4kFJI9Dh80aMsSny7pnFJ3ik0WSqLM88F5VgOPjm+9B171tYJvsRsyi4\ncB1afmMrCVm/sLyTg2BPi64aHTECj0A/KwYUwH5n4wFT+mBQ5+6aIvwAnrG+\n3AQ49gCr5x7sd2WdUOPMLrEGcVD6dBxub6tnKlO26A65+4kZS4XtyNfeUuKv\n6C+2sMPhQs7R3Swa6s8CiqXbFNGyFaODungYdlQzh1s6UqWgjC93RdNHYbS+\nLmT7pOpkXNRF4FX28Ov4xxsagGapgU/Zhd5Nn9vafSlg9eKRIiBZnFG+fV0h\n2hwXUZow/P72i5TLo7+QnJYhqI5JJJPgcZ1qci8hq01c0tBQAoRgOmCwTkIX\nyvcP\r\n=JEAK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/iMEk6DjpWDujGrweOFs+EI44R/+xKFEUOKUln1KC2QIgOD6+tj7tSFua7AuJ8KwgQKsE0+Zk8AZIVmUsuXtYO50="}]},"_npmUser":{"name":"aristofanio","email":"aristofanio@hotmail.com"},"directories":{},"maintainers":[{"name":"aristofanio","email":"aristofanio@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-timekeeper_2.1.3_1628099600480_0.0624775037861931"},"_hasShrinkwrap":false},"2.1.4":{"name":"@aristofanio/react-timekeeper","version":"2.1.4","description":"Time picker based on the style of the Google Keep app forked from https://github.com/catc/react-timekeeper.git","main":"./lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/catc/react-timekeeper.git"},"homepage":"https://catc.github.io/react-timekeeper/","keywords":["react","time","time picker","picker","hour","24 hour","minute","react spring"],"author":{"name":"Catalin Covic","email":"catalin.covic@gmail.com"},"license":"MIT","scripts":{"docs:dev":"node ./bin/dev.js","docs:build":"node ./bin/build.js","_clean":"rimraf lib && mkdir lib","_build":"NODE_ENV=production babel src --extensions '.tsx' --extensions '.ts' -d lib","_types":"NODE_ENV=production tsc --emitDeclarationOnly -d --outDir lib --esModuleInterop --jsx react src/index.ts","lib":" npm run _clean && npm run _build & npm run _types","tests:watch":"NODE_ENV=test jest --watch","tests":"NODE_ENV=test jest"},"devDependencies":{"@babel/cli":"^7.4.4","@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.3.3","@emotion/babel-preset-css-prop":"^10.0.14","@hot-loader/react-dom":"^16.13.0","@types/enzyme":"^3.10.3","@types/jest":"^24.0.15","@types/lodash.debounce":"^4.0.6","@types/react":"^16.9.49","@types/react-dom":"^16.8.4","@typescript-eslint/eslint-plugin":"2.0.0","@typescript-eslint/parser":"2.0.0","autoprefixer":"^9.7.4","babel-loader":"^8.0.6","css-loader":"^3.0.0","cssnano":"^4.1.10","enzyme":"^3.10.0","enzyme-adapter-react-16":"^1.14.0","eslint":"^6.0.1","eslint-config-prettier":"^6.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.2","eslint-plugin-react-hooks":"^1.6.1","highlight.js":"^9.15.10","jest":"^24.8.0","jest-watch-typeahead":"^0.4.2","mini-css-extract-plugin":"^0.7.0","node-sass":"^4.12.0","postcss-loader":"^3.0.0","prettier":"^1.18.2","react-hot-loader":"^4.11.1","rimraf":"^2.6.3","sass-loader":"^7.1.0","style-loader":"^0.23.1","typescript":"^3.5.2","webpack":"^4.35.0","webpack-dev-server":"^3.7.2"},"engines":{"node":">=12.16.2"},"peerDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"dependencies":{"@emotion/core":"^10.0.14","lodash.debounce":"^4.0.8","react-spring":"^8.0.25"},"eslintIgnore":["lib/","docs/build/","node_modules/"],"jest":{"rootDir":"src","testRegex":"(test\\_.*)\\.tsx?$","watchPlugins":["jest-watch-typeahead/filename","jest-watch-typeahead/testname"]},"readme":"<!--\nTODO\n- update react spring to v9 on release\n\t- should fix about of typescript issues\n- fix remaining typescript errors\n- add units tests for components once enzyme gains better supports shallow\n-->\n\n<h1 align=\"center\">\n\t<img height=\"350\" src=\"./screenshots/example.png\" />\n\t<br/>\n\tReact Timekeeper\n</h1>\n<p align=\"center\">\n  <small>forked from https://travis-ci.com/catc/react-timekeeper</small>\n</p>\n\n<p align=\"center\">\n  <!-- <a href=\"https://travis-ci.com/catc/react-timekeeper\">\n    <img src=\"https://travis-ci.com/catc/react-timekeeper.svg?branch=master\" alt=\"build\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/react-timekeeper\">\n    <img src=\"https://img.shields.io/npm/dm/react-timekeeper\" alt=\"downloads\" />\n  </a> -->\n  <a href=\"https://github.com/catc/react-timekeeper/blob/master/LICENSE\">\n    <img src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"license\"/>\n  </a>\n</p>\n\n<p align=\"center\">\n\t<b>\n\t\tTime picker based on the style of the\n\t\t<a href=\"https://play.google.com/store/apps/details?id=com.google.android.keep\" target=\"_blank\">\n\t\tAndroid Google Keep\n\t\t</a>\n\t\tapp.\n\t</b>\n</p>\n\n------------\n\n**Features**\n- supports both 12 hour and 24 hour mode, and flexible time formats\n- simple to use with many customizable options\n- smooth, beautiful animations with [react spring](https://www.react-spring.io)\n- typescript support\n- css variable support for custom styles\n\n## Installation\n\n```shell\n$ npm install --save react-timekeeper\n```\n\nVersion 2+ of timekeeper requires [react hooks (v16.8)](https://reactjs.org/blog/2019/02/06/react-v16.8.0.html). If you're using an older version of react, install timekeeper v1 via\n```shell\n$ npm install --save react-timekeeper@^1.0.0\n```\n\n## Usage\n\n```javascript\nimport React, {useState} from 'react';\nimport TimeKeeper from 'react-timekeeper';\n\nfunction YourComponent(){\n  const [time, setTime] = useState('12:34pm')\n\n  return (\n    <div>\n      <TimeKeeper\n        time={time}\n        onChange={(data) => setTime(data.formatted12)}\n      />\n      <span>Time is {time}</span>\n    </div>\n  )\n}\n```\n\nAll styles are inlined via [emotion](https://github.com/emotion-js/emotion) so no css imports are required.\n\n## API\nFor full api and examples, see [API docs](https://catc.github.io/react-timekeeper/#api) and [examples](https://catc.github.io/react-timekeeper/#examples)\n\n\n\n## Development\n1. Clone the repo\n3. `nvm use v10.16.0` (or anything >10)\n2. `npm install`\n3. `npm run docs:dev`\n4. Navigate to `localhost:3002`\n\n### Contributing\nBefore submitting a PR, ensure that:\n1. you follow all eslint rules (should be automatic)\n1. all tests pass via `npm run tests`\n1. everything builds\n    - docs - `npm run docs:build`\n    - lib - `npm run lib`\n1. provide detailed info on what bug you're fixing or feature you're adding - if possible include a screenshot/gif\n\n------------\n\nOther useful commands:\n- build docs: `npm run docs:build`\n- run all tests: `npm run tests`\n- watch tests: `npm run tests:watch`\n- create lib to publish npm: `npm run lib`\n\n","readmeFilename":"README.md","gitHead":"2967faf6383fa21ccb52dca84233cba8e4ce31f4","bugs":{"url":"https://github.com/catc/react-timekeeper/issues"},"_id":"@aristofanio/react-timekeeper@2.1.4","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"integrity":"sha512-LFXWaNG+PqdLyekc/VZG4VBSghxNrUtWM6lhGjIE/7S2TFcyHSlyZdKZfdNA4SSHKY9dcMgM6f981swV1y0U4A==","shasum":"81fdcf458a5f19d071aadb25a979305756fb5340","tarball":"https://registry.npmjs.org/@aristofanio/react-timekeeper/-/react-timekeeper-2.1.4.tgz","fileCount":80,"unpackedSize":218441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCtkgCRA9TVsSAnZWagAA0x4P/2Mbs+pBAPDhY53jWRtz\nr39MwnUpOW7d8RUhcsbk5mXqmLvxFXIVkMqjkuxSf2UTN7wkCJ6miAot27V0\nRtSVhLjxg1wLbntELbOGX+WE38ROkwfSgSyZ8HPSCsdMbN9i69NBmEpeQ1Xc\nxzdxhS6PgKHJUCxrMDiSRpQdF8IYVMGhZVSoPOl67I8G4GTZfoqWqG1LgK5I\nHOVhNqhit/D36VPc3qNqeyRdakHknLKZdyBM0BDk9/4wdmxWdj2Q8kQG9GM1\n8d5sSsGfvdkTIGCgY1T/e05kXhq/g9ctE0nYcz+XXqdEYfPwrIh8PwK/RGPz\nGZgIh8ONa872KBStq2ASYLKeWGRDF18RykygkrskEr/8rhg18ob2nsILzGci\nLs5yfEY0q9SV8s9tqctqvCXvlo+O6Fh1V/YwJfzonCblcPuZgPGEOFIBMfNA\ne5EpjgWUqyrWaa31hZr3VPnjuiFulNcTUa6+/CqbGKioB3SKS5TJpryrLJNK\nQAgxDpFe0UqJuqBSnIjM9+j6aDrtLHHj28pIUinHUMCztAPwzmNa44AoNn6Z\n9+K7/69K+hoEJDgMnZwlk+kwrtsS9I93Zpqcazu7HRemYQrLjV85B8u38cYt\nkxPBvLSzpM5On/+Vxve3KNlsZot3x7pc74BPstCQDdjKmRZL/rfb1ir+cnJN\nqmX1\r\n=OXuW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZshAYQw77CXE5hsgRMIlNqxiABOepo2DdBvoSjtBy4AiEAzM3OL5KWDe7+pHUpR0bMI474pKnu1/J9ezHCIXh+U3g="}]},"_npmUser":{"name":"aristofanio","email":"aristofanio@hotmail.com"},"directories":{},"maintainers":[{"name":"aristofanio","email":"aristofanio@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-timekeeper_2.1.4_1628100896680_0.5326250207874028"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-04T17:53:20.412Z","2.1.3":"2021-08-04T17:53:20.730Z","modified":"2022-04-04T15:28:00.895Z","2.1.4":"2021-08-04T18:14:56.901Z"},"maintainers":[{"name":"aristofanio","email":"aristofanio@hotmail.com"}],"description":"Time picker based on the style of the Google Keep app","homepage":"https://catc.github.io/react-timekeeper/","keywords":["react","time","time picker","picker","hour","24 hour","minute","react spring"],"repository":{"type":"git","url":"git+https://github.com/catc/react-timekeeper.git"},"author":{"name":"Catalin Covic","email":"catalin.covic@gmail.com"},"bugs":{"url":"https://github.com/catc/react-timekeeper/issues"},"license":"MIT","readme":"","readmeFilename":""}