Any contributions to this project are welcome! Before you open an issue or create a pull request, though, note that this project isn’t a general-purpose date library. If a feature isn’t supported by dayjs, it likely won’t be supported here.
Ensure node and npm are installed. Clone the repository and install dependencies:
git clone git@github.com:devshawn/react-dayjs.git
cd react-dayjs
npm installRun tests:
npm testRun tests with coverage:
npm run test:coverageRun tests in watch mode:
npm run test:watchRun lint:
npm run lintRun webpack build:
npm run buildRun webpack in watch mode:
npm run serve-
Discuss your proposed change in a GitHub issue first before spending time and implementing a feature or fix.
-
Ensure all changes are relevant to the pull request. Keep pull requests as small and to-the-point as possible.
-
Add & modify tests as necessary. Also, ensure the code meets our style standards. Run the linter.
-
Once changes are completed, open a pull request for review against the master branch.