Skip to content

Commit

Permalink
Update dependencies and optimize build process
Browse files Browse the repository at this point in the history
  • Loading branch information
KnotzerIO committed Mar 27, 2024
1 parent bf42868 commit 1a20be0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main_pathpal-navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
npm install
npm run build
rm -r node_modules
npm install json-server
npm prune --production
- name: Zip artifact for deployment
run: zip release.zip ./* -r
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
"server": "json-server --watch server/db.json --port 8080 --static ./dist"
},
"dependencies": {
"json-server": "^1.0.0-alpha.23"
},
"devDependencies": {
"axios": "^1.6.7",
"json-server": "^1.0.0-alpha.23",
"react": "^18.2.0",
"react-device-detect": "^2.2.3",
"react-dom": "^18.2.0",
"react-icons": "^4.11.0",
"react-router-dom": "^6.18.0",
"react-toastify": "^10.0.4",
"react-zoom-pan-pinch": "^3.1.0",
"usehooks-ts": "^2.9.4"
},
"devDependencies": {
"usehooks-ts": "^2.9.4",
"@types/node": "^20.11.16",
"@types/react": "18.2.42",
"@types/react-dom": "^18.2.7",
Expand Down Expand Up @@ -53,6 +53,6 @@
"vite-plugin-image-optimizer": "^1.1.7"
},
"engines": {
"node": "20.x"
"node": ">=18.0.0"
}
}

0 comments on commit 1a20be0

Please sign in to comment.