-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 4.2 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@edrlab/thorium-web",
"description": "Play with the capabilities of the Readium Web toolkit",
"keywords": [
"edrlab",
"thorium",
"demo",
"toolkit",
"web reader"
],
"license": "BSD-3-Clause",
"author": {
"name": "EDRLab",
"url": "https://www.edrlab.org"
},
"repository": {
"type": "git",
"url": "https://github.com/edrlab/thorium-web.git"
},
"bugs": {
"url": "https://github.com/edrlab/thorium-web/issues"
},
"version": "1.3.0",
"private": false,
"files": [
"./dist"
],
"sideEffects": [
"**/locales/**/*.json"
],
"exports": {
"./core/components": "./dist/core/Components/index.mjs",
"./core/helpers": "./dist/core/Helpers/index.mjs",
"./core/hooks": "./dist/core/Hooks/index.mjs",
"./core/i18n": "./dist/i18n/index.mjs",
"./core/lib": "./dist/lib/index.mjs",
"./core/preferences": "./dist/preferences/index.mjs",
"./audio": "./dist/components/Audio/index.mjs",
"./audio/styles": "./dist/components/Audio/index.css",
"./epub": "./dist/components/Epub/index.mjs",
"./epub/styles": "./dist/components/Epub/index.css",
"./misc": "./dist/components/Misc/index.mjs",
"./misc/styles": "./dist/components/Misc/index.css",
"./next": "./dist/next-lib/index.mjs",
"./reader": "./dist/components/Reader/index.mjs",
"./reader/styles": "./dist/components/Reader/index.css",
"./webpub": "./dist/components/WebPub/index.mjs",
"./webpub/styles": "./dist/components/WebPub/index.css"
},
"scripts": {
"dev": "next dev",
"build": "pnpm extract-locales && next build",
"build:analyze": "npx next experimental-analyze",
"start": "next start",
"lint": "eslint .",
"deploy": "npx @cloudflare/next-on-pages && npx wrangler pages deploy",
"preinstall": "npx only-allow pnpm",
"copy-locales": "cpx \"public/locales/**/*\" dist/locales",
"copy-fonts": "cpx \"public/fonts/**/*\" dist/fonts",
"extract-locales": "node scripts/extract-locales.mjs",
"check-locales": "node scripts/check-locales.mjs",
"update-locales": "pnpm remove @edrlab/thorium-locales && pnpm add @edrlab/thorium-locales@github:edrlab/thorium-locales && pnpm extract-locales && pnpm check-locales --summary --show-missing",
"bundle": "pnpm extract-locales && tsup --config tsup.config.ts && pnpm copy-locales && pnpm copy-fonts",
"increment": "node scripts/increment.mjs"
},
"peerDependencies": {
"@readium/css": "^2.0.1",
"@readium/navigator": "2.4.0",
"@readium/navigator-html-injectables": "2.3.1",
"@readium/shared": "2.2.0",
"@reduxjs/toolkit": "^2.11.2",
"i18next": "^25.8.13",
"i18next-browser-languagedetector": "^8.2.1",
"i18next-http-backend": "^3.0.2",
"motion": "^12.34.3",
"react": "^19.2.4",
"react-aria": "^3.46.0",
"react-aria-components": "^1.15.1",
"react-dom": "^19.2.4",
"react-i18next": "^16.5.4",
"react-modal-sheet": "^5.2.1",
"react-redux": "^9.2.0",
"react-resizable-panels": "^3.0.6",
"react-stately": "^3.44.0"
},
"dependencies": {
"@edrlab/thorium-locales": "github:edrlab/thorium-locales",
"@readium/css": "^2.0.1",
"@readium/navigator": "2.4.0",
"@readium/navigator-html-injectables": "2.3.1",
"@readium/shared": "2.2.0",
"@reduxjs/toolkit": "^2.11.2",
"classnames": "^2.5.1",
"colorthief": "^3.3.1",
"debounce": "^3.0.0",
"i18next": "^25.8.13",
"i18next-browser-languagedetector": "^8.2.1",
"i18next-http-backend": "^3.0.2",
"motion": "^12.34.3",
"next": "16.1.6",
"react": "^19.2.4",
"react-aria": "^3.46.0",
"react-aria-components": "^1.15.1",
"react-dom": "^19.2.4",
"react-i18next": "^16.5.4",
"react-modal-sheet": "^5.2.1",
"react-redux": "^9.2.0",
"react-resizable-panels": "^3.0.6",
"react-stately": "^3.44.0"
},
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"@types/css-modules": "^1.0.5",
"@types/node": "^22.19.7",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"cpx2": "^8.0.0",
"esbuild-plugin-svgr": "^3.1.1",
"eslint": "^9.39.2",
"eslint-config-next": "16.1.6",
"glob": "^13.0.6",
"immer": "11.1.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
}
}