react-duration-input-mask
v0.6.1
Published
A React component to render input masking for a duration: days, hours, minutes, seconds
Downloads
324
Maintainers
Readme
React Duration Input Mask
Install
npm install react-duration-input-mask
or yarn add react-duration-input-mask
Documentation
You can find the docs and demos here
Contributing
Development
Runs the docz dev server with file watching:
yarn start
Git
To avoid issues with merge conflicts on .size-snapshot.json
,
set a merge driver:
git config merge.ours.driver true
Tests
Run on push via husky and can be run separately:
yarn test
Or using file watch mode:
yarn run test:dev
Linting
Run on commit via husky and can be run separately:
yarn run lint
Publish
Publish to npm registry from master
Patch version
yarn version --patch && git push origin --tags
Minor version
yarn version --minor && git push origin --tags
Major version
yarn version --major && git push origin --tags