add typescript to backend

This commit is contained in:
fred 2025-08-15 15:02:11 -07:00
parent 0a41568a2e
commit 30b28056de
10 changed files with 221 additions and 67 deletions

View file

@ -4,7 +4,7 @@ WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
RUN if [ "$NODE_ENV" = "dev" ]; then npm install; else npm install --only=production; fi
COPY . .

View file

@ -12,17 +12,17 @@
"preview": "vite preview"
},
"dependencies": {
"@types/node": "^24.2.0",
"autoprefixer": "^10.4.21",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router-dom": "^7.6.3"
},
"devDependencies": {
"@types/node": "^24.2.0",
"@eslint/js": "^9.29.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.5.2",
"autoprefixer": "^10.4.21",
"eslint": "^9.29.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",