Skip to content

Commit f39d212

Browse files
authored
Merge pull request #5 from EDITD/add-contributing
Add contributing
2 parents f5c1f5d + 15e26a0 commit f39d212

File tree

4 files changed

+67
-4
lines changed

4 files changed

+67
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Changelog
2+
3+
## v1.0.0
4+
- First public release

CONTRIBUTING.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Contributing
2+
3+
We are open to, and grateful for, any contributions made by the community.
4+
5+
## Reporting Issues
6+
7+
Before opening an issue, please search the [issue tracker](https://github.com/EDITD/react-text-loop/issues) to make sure your issue hasn't already been reported.
8+
9+
## Development
10+
11+
Visit the [Issue tracker](https://github.com/EDITD/react-text-loop/issues) to find a list of open issues that need attention.
12+
13+
Fork, then clone the repo:
14+
```
15+
git clone https://github.com/your-username/react-text-loop.git
16+
```
17+
18+
Build package for dev mode. It will automatically watch any changes in `src/` forlder:
19+
```
20+
yarn run dev
21+
```
22+
23+
We follow [eslint-config-edited](https://www.npmjs.com/package/eslint-config-edited) for code style.
24+
25+
### Building and testing
26+
27+
Build package:
28+
```
29+
yarn run build
30+
```
31+
32+
To run the tests:
33+
```
34+
npm run test
35+
```
36+
37+
To perform linting with `eslint`, run the following:
38+
```
39+
npm run lint
40+
```
41+
42+
### New Features
43+
44+
Please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request that we won't want to accept.
45+
46+
## Submitting Changes
47+
48+
* Open a new issue in the [Issue tracker](https://github.com/EDITD/react-text-loop/issues).
49+
* Fork the repo.
50+
* Create a new feature branch based off the `master` branch.
51+
* Make sure all tests pass and there are no linting errors.
52+
* Submit a pull request, referencing any issues it addresses.
53+
54+
Please try to keep your pull request focused in scope and avoid including unrelated commits.
55+
56+
After you have submitted your pull request, we'll try to get back to you as soon as possible. We may suggest some changes or improvements.
57+
58+
Thank you for contributing!

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ An animated loop of text nodes for your headings. Uses [react-motion](https://gi
1313

1414
### Code
1515

16-
Example:
17-
1816
```jsx
1917
import TextLoop from 'react-text-loop';
2018

@@ -98,7 +96,7 @@ You can also just send a normal array as children prop if you don't need any ind
9896

9997
## Contributing
10098

101-
Please follow our contributing guidelines.
99+
Please follow our [contributing guidelines](https://github.com/EDITD/react-text-loop/blob/master/CONTRIBUTING.md).
102100

103101
## License
104102

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@
1616
"url": "git+https://github.com/EDITD/react-text-loop.git"
1717
},
1818
"keywords": [
19+
"react",
20+
"component",
1921
"text",
20-
"animated",
22+
"animation",
2123
"loop",
2224
"cycle",
25+
"react",
2326
"motion"
2427
],
2528
"author": {

0 commit comments

Comments
 (0)