diff --git a/package.json b/package.json
index 5009e9832dcd7ee4f9f0e08b69e7f9d7f02cb26a..442f711c31c6d522f367e879478b930c45397b32 100644
--- a/package.json
+++ b/package.json
@@ -5,13 +5,14 @@
   "private": true,
   "scripts": {
     "build": "webpack --config webpack.config.js",
-    "serve": "npm install && webpack serve --config webpack.config.js"
+    "serve": "npm install --legacy-peer-deps && chmod +x node_modules/webpack/bin/webpack.js; webpack serve --config webpack.config.js"
   },
   "author": "",
   "license": "ISC",
   "dependencies": {
     "css-loader": "^3.6.0",
-    "mirador": "^3.3.0",
+    "mirador": "git+https://gitlab.tetras-libre.fr/iiif/mirador-video-annotation#wip-webpack-from-git",
+    "mirador-annotations": "0.5.0",
     "react": "^16.13.1",
     "react-dom": "^16.13.1",
     "style-loader": "^1.2.1"