Skip to content

Commit

Permalink
Change server.js location
Browse files Browse the repository at this point in the history
  • Loading branch information
auggod committed Mar 25, 2022
1 parent f901f8a commit 52f554f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 27 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
"main": "index.js",
"private": true,
"scripts": {
"start": "node server.js",
"dev": "babel-node -r ./node_modules/dotenv-safe/config ./server.dev.js",
"start": "node -r ./node_modules/dotenv-safe/config ./lib/server.js",
"dev": "babel-node -r ./node_modules/dotenv-safe/config ./src/server.js",
"build": "babel src -d lib",
"run-all-tests": "npm-run-all test:*",
"test": "standard src && npm run test-deps",
"test": "npm run test:lint && npm run test:deps",
"test:lint": "standard src",
"test:deps": "dependency-check --verbose --missing ./lib/**/*.js --no-dev --i dotenv-safe"
},
"keywords": [
Expand Down
23 changes: 0 additions & 23 deletions server.js

This file was deleted.

2 changes: 1 addition & 1 deletion server.dev.js → src/server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import app from './src'
import app from './'

const port = process.env.APP_PORT || 3000

Expand Down

0 comments on commit 52f554f

Please sign in to comment.