Skip to content

Commit 6ab6c65

Browse files
authored
Merge pull request #76 from MichaelDeBoey/prop-types
Make 'prop-types' package a regular dependency + update other dependency versions
2 parents 3441129 + fd658e8 commit 6ab6c65

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build": "mkdir -p dist && babel src/InfiniteScroll.js --out-file dist/InfiniteScroll.js",
1313
"prepublish": "npm run build",
1414
"test": "nyc npm run spec",
15-
"spec": "./node_modules/.bin/_mocha -R spec ./test/test_helper.js --recursive test/*_test.js",
15+
"spec": "_mocha -R spec ./test/test_helper.js --recursive test/*_test.js",
1616
"lint": "eslint src test"
1717
},
1818
"keywords": [
@@ -25,6 +25,12 @@
2525
"bugs": {
2626
"url": "https://github.com/CassetteRocks/react-infinite-scroller/issues"
2727
},
28+
"dependencies": {
29+
"prop-types": "^15.5.8"
30+
},
31+
"peerDependencies": {
32+
"react": "^0.14.9 || ^15.3.0"
33+
},
2834
"devDependencies": {
2935
"babel-cli": "^6.6.5",
3036
"babel-core": "^6.24.1",
@@ -49,13 +55,9 @@
4955
"jsdom": "^10.0.0",
5056
"mocha": "^3.3.0",
5157
"nyc": "^10.2.0",
52-
"react": "^0.14.0 || ^15.0.1",
53-
"react-addons-test-utils": "^0.14.0 || ^15.0.1",
54-
"react-dom": "^0.14.0 || ^15.0.1",
58+
"react": "^0.14.9 || ^15.3.0",
59+
"react-addons-test-utils": "^0.14.8 || ^15.3.0",
60+
"react-dom": "^0.14.9 || ^15.3.0",
5561
"sinon": "^2.1.0"
56-
},
57-
"peerDependencies": {
58-
"prop-types": "^15.5.8",
59-
"react": "^0.14.0 || ^15.0.1"
6062
}
6163
}

0 commit comments

Comments
 (0)