Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit 86ce303

Browse files
authored
Merge pull request #8 from nikkhn/fix-dependencies
update require() to use servicelib package
2 parents 93847b9 + 376c5fd commit 86ce303

File tree

12 files changed

+2211
-1710
lines changed

12 files changed

+2211
-1710
lines changed

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
const express = require('express');
44
const init = require('servicelib-node/init');
5+
const packageInfo = require('./package.json');
56

67
/**
78
* The service's entry point. It takes over the configuration
@@ -13,7 +14,7 @@ const init = require('servicelib-node/init');
1314
* @return {bluebird} HTTP server
1415
*/
1516
module.exports = (options) => {
16-
return init.initApp(options)
17+
return init.initApp(options, packageInfo)
1718
.then((app) => init.loadRoutes(app, `${__dirname}/routes`))
1819
.then((app) => {
1920
// serve static files from static/

lib/api-util.js

Lines changed: 0 additions & 126 deletions
This file was deleted.

lib/swagger-ui.js

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)