-
Notifications
You must be signed in to change notification settings - Fork 132
/
package.json
78 lines (78 loc) · 2.2 KB
/
package.json
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
{
"name": "react-reader",
"version": "2.0.11",
"description": "A epub-reader for React powered by ePubJS",
"type": "module",
"main": "./dist/react-reader.umd.js",
"module": "./dist/react-reader.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/react-reader.es.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/react-reader.umd.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"clean": "rimraf dist/*",
"build::app": "tsc -p tsconfig.prod.json && vite build",
"build": "npm run clean && tsc -p tsconfig.prod.json && vite build --config vite.config.lib.ts",
"prepare": "npm run build",
"build-vercel": "tsc -p tsconfig.prod.json && vite build --config vite.config.vercel.ts",
"preview": "vite preview",
"test": "npm run jest",
"jest": "NODE_ENV=test NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest",
"coverage": "npm run jest -- --coverage=true"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gerhardsletten/react-reader.git"
},
"author": "Gerhard Sletten",
"license": "ISC",
"bugs": {
"url": "https://github.com/gerhardsletten/react-reader/issues"
},
"homepage": "https://react-reader.metabits.no",
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"epubjs": "^0.3.93",
"react-swipeable": "^7.0.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.8",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"classnames": "^2.5.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.4.38",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.3",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5",
"use-local-storage-state": "^19.2.0",
"vite": "^5.2.11",
"vite-plugin-dts": "^3.9.0"
}
}