diff --git a/package.json b/package.json index 2b835fc..d516847 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "scripts": { "start": "node ./dist/server.js site/", "postinstall": "typings install", - "build": "tsc" + "build": "tsc", + "test": "npm run build" }, "engines": { "node": "6.9.4" diff --git a/src/server.ts b/src/server.ts index 1a48488..fc610b7 100644 --- a/src/server.ts +++ b/src/server.ts @@ -15,6 +15,6 @@ export default function createServer(opts : Options) { statusCode: 404 })); } - + return app; }