diff --git a/striker-ui-api/package.json b/striker-ui-api/package.json index 9abbc8a6..bf9812ea 100644 --- a/striker-ui-api/package.json +++ b/striker-ui-api/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "webpack", "build:clean": "rm -rf out", - "dev": "node index.js", + "dev": "node src/index.js", "rebuild": "npm run build:clean && npm run build", "start": "npm run rebuild && node out/index.js", "style:fix": "prettier --write *" diff --git a/striker-ui-api/app.js b/striker-ui-api/src/app.js similarity index 100% rename from striker-ui-api/app.js rename to striker-ui-api/src/app.js diff --git a/striker-ui-api/index.js b/striker-ui-api/src/index.js similarity index 100% rename from striker-ui-api/index.js rename to striker-ui-api/src/index.js diff --git a/striker-ui-api/lib/accessDB.js b/striker-ui-api/src/lib/accessDB.js similarity index 100% rename from striker-ui-api/lib/accessDB.js rename to striker-ui-api/src/lib/accessDB.js diff --git a/striker-ui-api/lib/consts/API_ROOT_PATH.js b/striker-ui-api/src/lib/consts/API_ROOT_PATH.js similarity index 100% rename from striker-ui-api/lib/consts/API_ROOT_PATH.js rename to striker-ui-api/src/lib/consts/API_ROOT_PATH.js diff --git a/striker-ui-api/lib/consts/SERVER_PATHS.js b/striker-ui-api/src/lib/consts/SERVER_PATHS.js similarity index 100% rename from striker-ui-api/lib/consts/SERVER_PATHS.js rename to striker-ui-api/src/lib/consts/SERVER_PATHS.js diff --git a/striker-ui-api/lib/consts/SERVER_PORT.js b/striker-ui-api/src/lib/consts/SERVER_PORT.js similarity index 100% rename from striker-ui-api/lib/consts/SERVER_PORT.js rename to striker-ui-api/src/lib/consts/SERVER_PORT.js diff --git a/striker-ui-api/lib/request_handlers/files/buildGetFiles.js b/striker-ui-api/src/lib/request_handlers/files/buildGetFiles.js similarity index 100% rename from striker-ui-api/lib/request_handlers/files/buildGetFiles.js rename to striker-ui-api/src/lib/request_handlers/files/buildGetFiles.js diff --git a/striker-ui-api/lib/request_handlers/files/getFileDetail.js b/striker-ui-api/src/lib/request_handlers/files/getFileDetail.js similarity index 100% rename from striker-ui-api/lib/request_handlers/files/getFileDetail.js rename to striker-ui-api/src/lib/request_handlers/files/getFileDetail.js diff --git a/striker-ui-api/lib/request_handlers/files/getFilesOverview.js b/striker-ui-api/src/lib/request_handlers/files/getFilesOverview.js similarity index 100% rename from striker-ui-api/lib/request_handlers/files/getFilesOverview.js rename to striker-ui-api/src/lib/request_handlers/files/getFilesOverview.js diff --git a/striker-ui-api/middlewares/uploadSharedFiles.js b/striker-ui-api/src/middlewares/uploadSharedFiles.js similarity index 100% rename from striker-ui-api/middlewares/uploadSharedFiles.js rename to striker-ui-api/src/middlewares/uploadSharedFiles.js diff --git a/striker-ui-api/routes/echo.js b/striker-ui-api/src/routes/echo.js similarity index 100% rename from striker-ui-api/routes/echo.js rename to striker-ui-api/src/routes/echo.js diff --git a/striker-ui-api/routes/files.js b/striker-ui-api/src/routes/files.js similarity index 100% rename from striker-ui-api/routes/files.js rename to striker-ui-api/src/routes/files.js