File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
33 - " 6.9.1"
4+ after_success :
5+ - npm run test:coveralls
Original file line number Diff line number Diff line change 11# React Router Fetch
2-
2+ [ ![ Dependency Status] ( https://david-dm.org/kellyrmilligan/react-router-fetch.svg )] ( https://david-dm.org/kellyrmilligan/react-router-fetch )
3+ [ ![ Build Status] ( https://travis-ci.org/kellyrmilligan/react-router-fetch.svg?branch=master )] ( https://travis-ci.org/kellyrmilligan/react-router-fetch )
4+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/kellyrmilligan/object-looper/badge.svg?branch=master )] ( https://coveralls.io/github/kellyrmilligan/object-looper?branch=master )
35Loops through matched routes from react router and calls a static fetch function on each handler. The static fetch function should return a promise. This will return a promise that will resolve/reject when all other promises are finished.
46
57### usage
Original file line number Diff line number Diff line change 1717 "standard" : " standard --fix" ,
1818 "standard:watch" : " onchange 'src/**/*.js' -- npm run standard" ,
1919 "test" : " cross-env NODE_ENV=test standard && jest" ,
20- "test:watch" : " npm run test -- --watch"
20+ "test:watch" : " npm run test -- --watch" ,
21+ "test:coveralls" : " cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
2122 },
2223 "author" : " Kelly Milligan" ,
2324 "license" : " ISC" ,
5354 "standard" : {
5455 "parser" : " babel-eslint"
5556 },
56- "dependencies" : {
57- },
57+ "dependencies" : {},
5858 "peerDependencies" : {
5959 "react-router" : " ^2.0.0 || ^3.0.0"
6060 },
6464 "babel-eslint" : " ^6.1.2" ,
6565 "babel-jest" : " ^15.0.0" ,
6666 "babel-plugin-add-module-exports" : " ^0.2.1" ,
67- "babel-preset-react" : " ^6.16.0" ,
6867 "babel-preset-latest" : " ^6.16.0" ,
68+ "babel-preset-react" : " ^6.16.0" ,
6969 "babel-preset-stage-2" : " ^6.18.0" ,
7070 "babel-runtime" : " ^6.11.6" ,
71+ "coveralls" : " ^2.11.15" ,
7172 "cross-env" : " ^2.0.1" ,
7273 "jest" : " ^15.1.1" ,
7374 "nodemon" : " ^1.9.0" ,
You can’t perform that action at this time.
0 commit comments