diff --git a/package.json b/package.json index ad29f54..4fd9633 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "test": "npm run mocha && npm run lint && nsp check", "lint": "eslint server.js tests/**.js", - "start": "node server.js", + "start": "./server.js", "mocha": "NODE_ENV=test mocha tests/**.test.js" }, "engines": { diff --git a/server.js b/server.js old mode 100644 new mode 100755 index e0e3d4c..9452082 --- a/server.js +++ b/server.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node const express = require('express'); const staticFile = require('connect-static-file'); const compression = require('compression');