Skip to content

Commit

Permalink
Fix dev and build scripts in package.json for backend and frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 28, 2024
1 parent d80082d commit 82ba764
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"type": "module",
"scripts": {
"install:dependencies": "cd ../packages/currency-converter && npm i && cd ../movinin-helper && npm i && cd ../../backend",
"build": "npm run install:dependencies && tsc --build --verbose && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"dev": "vite",
"ts:build": "npm run install:dependencies && tsc --build --verbose",
"build": "npm run ts:build && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"dev": "npm run ts:build && vite",
"preview": "vite preview",
"fix": "eslint --fix .",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
Expand Down
5 changes: 3 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"type": "module",
"scripts": {
"install:dependencies": "cd ../packages/currency-converter && npm i && cd ../movinin-helper && npm i && cd ../../frontend",
"build": "npm run install:dependencies && tsc --build --verbose && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"dev": "vite",
"ts:build": "npm run install:dependencies && tsc --build --verbose",
"build": "npm run ts:build && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"dev": "npm run ts:build && vite",
"preview": "vite preview",
"fix": "eslint --fix .",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
Expand Down

0 comments on commit 82ba764

Please sign in to comment.