aboutsummaryrefslogtreecommitdiff
path: root/modern/package.json
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-08-19 13:58:45 -0700
committerAnton Tananaev <anton@traccar.org>2023-08-19 13:59:07 -0700
commitd3c7705bedebd65c94f9eea691aaf2fe03b0cafe (patch)
tree5f98b3d9bbbd4fe8067b5a334e84aff008b8db22 /modern/package.json
parent0161ae449d4a7bd0781c0665d663353663ab0faf (diff)
downloadtrackermap-web-d3c7705bedebd65c94f9eea691aaf2fe03b0cafe.tar.gz
trackermap-web-d3c7705bedebd65c94f9eea691aaf2fe03b0cafe.tar.bz2
trackermap-web-d3c7705bedebd65c94f9eea691aaf2fe03b0cafe.zip
Move to Vite
Diffstat (limited to 'modern/package.json')
-rw-r--r--modern/package.json12
1 files changed, 8 insertions, 4 deletions
diff --git a/modern/package.json b/modern/package.json
index 0faec5e7..86d7bbc5 100644
--- a/modern/package.json
+++ b/modern/package.json
@@ -16,6 +16,7 @@
"@tmcw/togeojson": "^5.6.2",
"@turf/circle": "^6.5.0",
"@turf/turf": "^6.5.0",
+ "events": "^3.3.0",
"mapbox-gl": "^1.13.3",
"maplibre-gl": "^3.0.1",
"moment": "^2.29.4",
@@ -25,11 +26,11 @@
"react-mui-dropzone": "^4.0.6",
"react-redux": "^8.0.5",
"react-router-dom": "^6.11.2",
- "react-scripts": "^5.0.1",
"react-virtualized-auto-sizer": "^1.0.19",
"react-window": "^1.8.9",
"recharts": "^2.6.2",
"redux": "^4.2.1",
+ "vite-plugin-svgr": "^3.2.0",
"wellknown": "^0.5.0",
"workbox-background-sync": "^6.6.1",
"workbox-broadcast-update": "^6.6.1",
@@ -45,8 +46,8 @@
"workbox-streams": "^6.6.1"
},
"scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
+ "start": "vite",
+ "build": "vite build",
"lint": "eslint .",
"lint:fix": "eslint --fix --ext .js ."
},
@@ -62,10 +63,13 @@
]
},
"devDependencies": {
+ "@vitejs/plugin-react": "^4.0.4",
"eslint": "^8.41.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
- "eslint-plugin-react-hooks": "^4.6.0"
+ "eslint-plugin-react-hooks": "^4.6.0",
+ "vite": "^4.4.9",
+ "vite-plugin-pwa": "^0.16.4"
}
}