From 1d5ffd57a0189e3dbb18cb42bfd8a29c0456b445 Mon Sep 17 00:00:00 2001 From: sveisvei Date: Sun, 19 Jun 2016 10:54:05 +0200 Subject: [PATCH] rename server to dev-server --- packages/unleash-api/{server.js => dev-server.js} | 0 packages/unleash-api/package.json | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) rename packages/unleash-api/{server.js => dev-server.js} (100%) diff --git a/packages/unleash-api/server.js b/packages/unleash-api/dev-server.js similarity index 100% rename from packages/unleash-api/server.js rename to packages/unleash-api/dev-server.js diff --git a/packages/unleash-api/package.json b/packages/unleash-api/package.json index ea004bb9e4..00b7e6ba5b 100644 --- a/packages/unleash-api/package.json +++ b/packages/unleash-api/package.json @@ -13,7 +13,6 @@ "migrations", "public", "app.js", - "server.js", "server-impl.js", "README.md", "LICENSE" @@ -31,8 +30,8 @@ "main": "./server-impl.js", "scripts": { "db-migrate-and-start": "npm run db-migrate && npm run start", - "start": "node server.js", - "start:dev": "NODE_ENV=development supervisor --ignore ./node_modules/ server.js", + "start": "node dev-server.js", + "start:dev": "NODE_ENV=development supervisor --ignore ./node_modules/ dev-server.js", "start:dev:pg": "pg_virtualenv npm run start:dev:pg-chain", "start:dev:pg-chain": "export DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; db-migrate up && npm run start:dev", "db-migrate": "db-migrate up",