refactor: update build script to correctly reference the dist directory

This commit is contained in:
Tudor Stanciu 2025-10-04 19:38:05 +03:00
parent 1d4fd809bf
commit 1316e9b151

View File

@ -6,7 +6,7 @@
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"dev": "nodemon", "dev": "nodemon",
"build": "rimraf dist && tsc", "build": "rimraf ../../dist/backend && tsc",
"start": "node dist/index.js", "start": "node dist/index.js",
"lint": "eslint .", "lint": "eslint .",
"lint:fix": "eslint . --fix", "lint:fix": "eslint . --fix",