view libervia/web/pages/_browser/browser_meta.json @ 1536:dc81403a5b2f

browser: chat page: since the move to Brython, the chat was really basic and not really usable. Now that dynamism has been re-implemented correctly in the new frontend, a real advanced chat page can be done. This is the first draft in this direction.
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:05:13 +0200
parents eb00d593801d
children ff633e19a069
line wrap: on
line source

{
    "js": {
        "package": {
            "dependencies": {
                "nunjucks": "^3.2.3",
                "swiper": "^6.8.4",
                "moment": "^2.29.1",
                "ogv": "^1.8.4"
            }
        },
        "brython_map": {
            "nunjucks": "nunjucks/browser/nunjucks.min.js",
            "swiper": {
                "path": "swiper/swiper-bundle.min.js",
                "export": ["Swiper"]
            },
            "moment": "moment/min/moment.min.js",
            "ogv": {
                "path": "ogv/dist/ogv.js",
                "export": ["OGVCompat", "OGVLoader", "OGVMediaError", "OGVMediaType", "OGVTimeRanges", "OGVPlayer", "OGVVersion"],
                "extra_init": "OGVLoader.base='/{build_dir}/node_modules/ogv/dist'"
            }
        }
    }
}