Skip to content

Commit 37a6594

Browse files
authored
Merge pull request #2 from vivek12345/feature-adding-all-contributors
Feature adding all contributors
2 parents 0979ade + 0871551 commit 37a6594

5 files changed

Lines changed: 1159 additions & 11 deletions

File tree

.all-contributorsrc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"projectName": "react-polling",
3+
"projectOwner": "vivek12345",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"contributors": [
12+
{
13+
"login": "vivek12345",
14+
"name": "Vivek Nayyar",
15+
"avatar_url": "https://avatars3.githubusercontent.com/u/4931048?v=4",
16+
"profile": "https://www.viveknayyar.in/",
17+
"contributions": [
18+
"doc",
19+
"code",
20+
"design",
21+
"example"
22+
]
23+
}
24+
]
25+
}

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# 🔔 react-polling
2+
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors)
23

34

45
[![Build Status](https://travis-ci.com/vivek12345/react-polling.svg)](https://travis-ci.com/vivek12345/react-polling)
@@ -106,3 +107,15 @@ MIT © [viveknayyar](https://github.com/vivek12345)
106107
- [x] Complete README
107108
- [ ] Add Examples and Demo
108109
- [x] Test Suite
110+
111+
## Contributors
112+
113+
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
114+
115+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
116+
<!-- prettier-ignore -->
117+
| [<img src="https://avatars3.githubusercontent.com/u/4931048?v=4" width="100px;"/><br /><sub><b>Vivek Nayyar</b></sub>](https://www.viveknayyar.in/)<br />[📖](https://github.com/vivek12345/react-polling/commits?author=vivek12345 "Documentation") [💻](https://github.com/vivek12345/react-polling/commits?author=vivek12345 "Code") [🎨](#design-vivek12345 "Design") [💡](#example-vivek12345 "Examples") |
118+
| :---: |
119+
<!-- ALL-CONTRIBUTORS-LIST:END -->
120+
121+
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

dist/ReactPolling.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"build:umd": "npm run clean:umd && cross-env NODE_ENV=production webpack",
2626
"clean:es": "rimraf lib/*",
2727
"clean:umd": "rimraf dist/*",
28-
"prepublish": "npm run lint && npm run test && npm run build"
28+
"prepublish": "npm run lint && npm run test && npm run build",
29+
"contributors:add": "all-contributors add",
30+
"contributors:generate": "all-contributors generate"
2931
},
3032
"lint-staged": {
3133
"src/**/*.{js,jsx}": [
@@ -85,6 +87,7 @@
8587
"@babel/plugin-transform-spread": "^7.0.0",
8688
"@babel/preset-env": "^7.0.0",
8789
"@babel/preset-react": "^7.0.0",
90+
"all-contributors-cli": "^5.4.1",
8891
"babel-core": "7.0.0-bridge.0",
8992
"babel-eslint": "^9.0.0",
9093
"babel-jest": "^23.4.2",
@@ -103,19 +106,19 @@
103106
"jest": "^23.5.0",
104107
"jest-cli": "^23.5.0",
105108
"prettier": "^1.14.2",
109+
"prop-types": "^15.6.0",
106110
"raf": "^3.4.0",
107111
"react": "^16.4.2",
108112
"react-dom": "^16.4.2",
109113
"react-test-renderer": "^16.4.2",
110114
"regenerator-runtime": "^0.12.1",
111115
"webpack": "^4.17.1",
112116
"webpack-cli": "^3.1.0",
113-
"webpack-dev-server": "^3.1.7",
114-
"prop-types": "^15.6.0"
117+
"webpack-dev-server": "^3.1.7"
115118
},
116119
"peerDependencies": {
120+
"prop-types": "^15.6.0",
117121
"react": ">=15.0.0",
118-
"react-dom": ">=15.0.0",
119-
"prop-types": "^15.6.0"
122+
"react-dom": ">=15.0.0"
120123
}
121124
}

0 commit comments

Comments
 (0)