annotate libervia/web/pages/_browser/browser_meta.json @ 1571:ff633e19a069

browser (meta): update deps + use new features + new deps: - update versions of existing dependencies; - use new import type option for `Swiper` as the old method was not working anymore with latest versions; - use new `css` feature for `Swiper` to have CSS injected by the generated module; - add `Tippy.js` and `emoji-picker-element` dependencies, they will be used for reactions and other future features.
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 16:31:36 +0100
parents eb00d593801d
children 6feac4a25e60
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1291
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
2 "js": {
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
3 "package": {
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
4 "dependencies": {
1571
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
5 "nunjucks": "^3.2.4",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
6 "swiper": "^11.0",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
7 "moment": "^2.29.4",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
8 "ogv": "^1.8.9",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
9 "tippy.js": "^6.3",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
10 "emoji-picker-element": "^1.18"
1291
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
11 }
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
12 },
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
13 "brython_map": {
1303
a48fe20f60c7 browser (js): added `swiper` and `moment` js modules
Goffi <goffi@goffi.org>
parents: 1291
diff changeset
14 "nunjucks": "nunjucks/browser/nunjucks.min.js",
a48fe20f60c7 browser (js): added `swiper` and `moment` js modules
Goffi <goffi@goffi.org>
parents: 1291
diff changeset
15 "swiper": {
1571
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
16 "import_type": "module",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
17 "path": "swiper/swiper-bundle.min.mjs",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
18 "css": "swiper/swiper-bundle.min.css",
1303
a48fe20f60c7 browser (js): added `swiper` and `moment` js modules
Goffi <goffi@goffi.org>
parents: 1291
diff changeset
19 "export": ["Swiper"]
a48fe20f60c7 browser (js): added `swiper` and `moment` js modules
Goffi <goffi@goffi.org>
parents: 1291
diff changeset
20 },
1336
71f24ad99a2c pages (js): added `ogv` requirement
Goffi <goffi@goffi.org>
parents: 1327
diff changeset
21 "moment": "moment/min/moment.min.js",
71f24ad99a2c pages (js): added `ogv` requirement
Goffi <goffi@goffi.org>
parents: 1327
diff changeset
22 "ogv": {
71f24ad99a2c pages (js): added `ogv` requirement
Goffi <goffi@goffi.org>
parents: 1327
diff changeset
23 "path": "ogv/dist/ogv.js",
71f24ad99a2c pages (js): added `ogv` requirement
Goffi <goffi@goffi.org>
parents: 1327
diff changeset
24 "export": ["OGVCompat", "OGVLoader", "OGVMediaError", "OGVMediaType", "OGVTimeRanges", "OGVPlayer", "OGVVersion"],
71f24ad99a2c pages (js): added `ogv` requirement
Goffi <goffi@goffi.org>
parents: 1327
diff changeset
25 "extra_init": "OGVLoader.base='/{build_dir}/node_modules/ogv/dist'"
1571
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
26 },
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
27 "tippy.js": {
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
28 "path": ["@popperjs/core/dist/umd/popper.min.js", "tippy.js/dist/tippy-bundle.umd.min.js"],
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
29 "css": ["tippy.js/dist/tippy.css", "tippy.js/themes/light.css", "tippy.js/themes/light-border.css"],
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
30 "export": ["tippy"]
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
31 },
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
32 "emoji-picker-element": {
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
33 "import_type": "module",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
34 "path": "emoji-picker-element/picker.js",
ff633e19a069 browser (meta): update deps + use new features + new deps:
Goffi <goffi@goffi.org>
parents: 1518
diff changeset
35 "export": []
1336
71f24ad99a2c pages (js): added `ogv` requirement
Goffi <goffi@goffi.org>
parents: 1327
diff changeset
36 }
1291
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
37 }
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
38 }
6daab90bfb8a pages (js): added `nunjucks` requirement
Goffi <goffi@goffi.org>
parents:
diff changeset
39 }