this is in the server
“scripts”: {
“test”: “echo "Error: no test specified" && exit 1”,
“dev”: “nodemon server.ts”
},
this is in the front
“scripts”: {
“dev”: “vite”,
“build”: “tsc && vite build”,
“lint”: “eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0”,
“preview”: “vite preview”
},
the folder name of the front is personal-web