-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.73 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.73 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
{
"name": "@entrolution/speed-read",
"version": "0.2.4",
"description": "Lightweight, embeddable document reader for EPUB, PDF, and CBZ. Add a reader to any webpage in one line of code.",
"type": "module",
"main": "./dist/speed-reader.umd.cjs",
"module": "./dist/speed-reader.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/speed-reader.js",
"require": "./dist/speed-reader.umd.cjs",
"types": "./dist/types/index.d.ts"
},
"./react": {
"import": "./dist/react/index.js",
"types": "./dist/types/react/index.d.ts"
},
"./style.css": "./dist/style.css"
},
"files": [
"dist"
],
"scripts": {
"dev": "vite --config vite.dev.config.ts",
"build": "npm run build:main && npm run build:react && npm run build:css",
"build:main": "tsc && vite build",
"build:react": "vite build --config vite.react.config.ts",
"build:css": "cp src/styles.css dist/style.css",
"build:docs": "vite build --config vite.docs.config.ts",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"keywords": [
"epub",
"pdf",
"cbz",
"reader",
"web-component",
"react",
"ebook",
"comic-reader",
"typescript",
"lightweight"
],
"author": "Entrolution",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Entrolution/speed-read.git"
},
"bugs": {
"url": "https://github.com/Entrolution/speed-read/issues"
},
"homepage": "https://Entrolution.github.io/speed-read/",
"devDependencies": {
"@playwright/test": "^1.58.1",
"@types/node": "^20.11.0",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"jsdom": "^24.0.0",
"rollup-plugin-visualizer": "^6.0.5",
"terser": "^5.46.0",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-plugin-dts": "^3.7.1",
"vitest": "^1.2.1"
},
"dependencies": {
"foliate-js": "^1.0.1",
"jszip": "^3.10.1",
"lit": "^3.1.1",
"pdfjs-dist": "^4.0.379"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
}
}