From 044a9d71b1da335c368d89f6b0b1503fe0dad6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Tesa=C5=99?= Date: Mon, 25 Sep 2023 10:58:44 +0200 Subject: [PATCH] Review fixes --- packages/api/package.json | 5 ++--- packages/data-pusher/package.json | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/api/package.json b/packages/api/package.json index 54d2fa25..9ea3e6fd 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -9,7 +9,7 @@ "scripts": { "build": "tsc --project .", "clean": "rm -rf coverage dist", - "dev": "nodemon --ext ts,js,json,env --exec \"pnpm run start\"", + "dev": "nodemon --ext ts,js,json,env --exec \"pnpm ts-node src/index.ts\"", "docker:build": "docker compose --file docker/docker-compose.yml build", "docker:start:detach": "docker compose --file docker/docker-compose.yml up --detach", "docker:start": "docker compose --file docker/docker-compose.yml up", @@ -18,8 +18,7 @@ "eslint:fix": "eslint . --ext .js,.ts --fix", "prettier:check": "prettier --check \"./**/*.{js,ts,md,json}\"", "prettier:fix": "prettier --write \"./**/*.{js,ts,md,json}\"", - "start": "pnpm ts-node src/index.ts", - "start:prod": "pnpm node dist/src/index.js", + "start-prod": "node dist/src/index.js", "test": "jest" }, "license": "MIT", diff --git a/packages/data-pusher/package.json b/packages/data-pusher/package.json index b7342d4b..be7c73f3 100644 --- a/packages/data-pusher/package.json +++ b/packages/data-pusher/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "tsc --project .", "clean": "rm -rf coverage dist", - "dev": "nodemon --ext ts,js,json,env --exec \"pnpm run start\"", + "dev": "nodemon --ext ts,js,json,env --exec \"pnpm ts-node src/index.ts\"", "docker:build": "docker compose --file docker/docker-compose.yml build", "docker:start:detach": "docker compose --file docker/docker-compose.yml up --detach", "docker:start": "docker compose --file docker/docker-compose.yml up", @@ -17,8 +17,7 @@ "eslint:fix": "eslint . --ext .js,.ts --fix", "prettier:check": "prettier --check \"./**/*.{js,ts,md,yml,json}\"", "prettier:fix": "prettier --write \"./**/*.{js,ts,md,yml,json}\"", - "start": "pnpm ts-node src/index.ts", - "start:prod": "pnpm node dist/src/index.js", + "start-prod": "node dist/src/index.js", "test": "jest" }, "license": "MIT",