Skip to content

Commit

Permalink
Add greenkeeper-lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbinianKuhn committed Mar 4, 2018
1 parent bcdb54d commit b45e5b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ node_js:
- 8
- 9

before_install:
- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest'
- npm install -g greenkeeper-lockfile@1

before_script:
- greenkeeper-lockfile-update
- npm install

script:
- npm run coveralls

after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
after_script:
- greenkeeper-lockfile-upload
- "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Express router

[![Greenkeeper badge](https://badges.greenkeeper.io/KorbinianKuhn/express-router.svg)](https://greenkeeper.io/)

[![Travis](https://img.shields.io/travis/KorbinianKuhn/express-router.svg?style=flat-square)](https://travis-ci.org/KorbinianKuhn/express-router/builds)
[![Coverage](http://img.shields.io/coveralls/KorbinianKuhn/express-router.svg?style=flat-square&branch=master)](https://coveralls.io/r/KorbinianKuhn/express-router)
[![Known Vulnerabilities](https://snyk.io/test/github/KorbinianKuhn/express-router/badge.svg?style=flat-square)](https://snyk.io/test/github/KorbinianKuhn/express-router)
[![Dependencies](https://img.shields.io/david/KorbinianKuhn/express-router.svg?style=flat-square)](https://david-dm.org/KorbinianKuhn/express-router)
[![Dev Dependencies](https://img.shields.io/david/dev/KorbinianKuhn/express-router.svg?style=flat-square)](https://david-dm.org/KorbinianKuhn/express-router)
[![npm](https://img.shields.io/npm/dt/@korbiniankuhn/express-router.svg?style=flat-square)](https://www.npmjs.com/package/@korbiniankuhn/express-router)
[![npm-version](https://img.shields.io/npm/v/@korbiniankuhn/express-router.svg?style=flat-square)](https://www.npmjs.com/package/@korbiniankuhn/express-router)
[![Greenkeeper badge](https://badges.greenkeeper.io/KorbinianKuhn/express-router.svg?style=flat-square)](https://greenkeeper.io/)
![license](https://img.shields.io/github/license/KorbinianKuhn/express-router.svg?style=flat-square)

Build REST API endpoints for Express dynamically. The middleware sends automated 404 and 405 responses with endpoint / allowed methods suggestions. The routes and controllers can easily be described with an object. It also validates the given object against duplicate endpoints and missing controller functions.
Expand Down

0 comments on commit b45e5b3

Please sign in to comment.