From 26001cadafa919b5e5d0a75a8ecf12571181a97c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 14 Feb 2017 22:21:08 +0000 Subject: [PATCH] Build on test --- package.json | 3 ++- src/server.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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; }