view libervia/web/pages/_browser/browser_meta.json @ 1618:5d9889f14012 default tip @

server: start major redesign - Add icons to menu items - Switch menu items representation from tuple to dictionary for future extensibility: - Include icon information - Prepare for additional data - Remove "login" from main menu, add login page URL to template data, as it is now a separate right-aligned item
author Goffi <goffi@goffi.org>
date Sat, 26 Oct 2024 23:07:01 +0200
parents 6feac4a25e60
children
line wrap: on
line source

{
    "js": {
        "package": {
            "dependencies": {
                "nunjucks": "^3.2.4",
                "swiper": "^11.0",
                "moment": "^2.29.4",
                "ogv": "^1.8.9",
                "tippy.js": "^6.3",
                "emoji-picker-element": "^1.18",
                "cbor-x": "^1.5.9"
            }
        },
        "brython_map": {
            "nunjucks": "nunjucks/browser/nunjucks.min.js",
            "swiper": {
                "import_type": "module",
                "path": "swiper/swiper-bundle.min.mjs",
                "css": "swiper/swiper-bundle.min.css",
                "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'"
            },
            "tippy.js": {
                "path": ["@popperjs/core/dist/umd/popper.min.js", "tippy.js/dist/tippy-bundle.umd.min.js"],
                "css": ["tippy.js/dist/tippy.css", "tippy.js/themes/light.css", "tippy.js/themes/light-border.css"],
                "export": ["tippy"]
            },
            "emoji-picker-element": {
                "import_type": "module",
                "path": "emoji-picker-element/picker.js",
                "export": []
            },
            "cbor-x": {
                "path": "cbor-x/dist/index.min.js",
                "export": ["CBOR"]
            }
        }
    }
}