-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
187 lines (187 loc) · 7.06 KB
/
package.json
File metadata and controls
187 lines (187 loc) · 7.06 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "echoplayer",
"version": "1.4.1",
"description": "EchoPlayer is a video player designed for language learners, helping users learn foreign languages efficiently through sentence-by-sentence intensive listening.",
"main": "./out/main/index.js",
"author": "echoplayer.cc",
"homepage": "https://echoplayer.cc",
"repository": {
"type": "git",
"url": "git+https://github.com/mkdir700/EchoPlayer.git"
},
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix .",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "npm run typecheck:node && npm run typecheck:web",
"start": "electron-vite preview",
"dev": "electron-vite dev",
"build": "npm run typecheck && electron-vite build",
"build:release": "npm run typecheck && electron-vite build",
"postinstall": "electron-builder install-app-deps",
"build:unpack": "npm run build && electron-builder --dir --publish never",
"build:win": "cross-env BUILD_TARGET_PLATFORM=win32 npm run build && electron-builder --win --publish never",
"build:win:x64": "cross-env BUILD_TARGET_PLATFORM=win32 BUILD_TARGET_ARCH=x64 npm run build && electron-builder --win --x64 --publish never",
"build:win:arm64": "cross-env BUILD_TARGET_PLATFORM=win32 BUILD_TARGET_ARCH=arm64 npm run build && electron-builder --win --arm64 --publish never",
"build:mac": "electron-vite build && electron-builder --mac --publish never",
"build:mac:x64": "npm run build && electron-builder --mac --x64 --publish never",
"build:mac:arm64": "npm run build && electron-builder --mac --arm64 --publish never",
"build:linux": "electron-vite build && electron-builder --linux --publish never",
"build:linux:x64": "npm run build && electron-builder --linux --x64 --publish never",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "npm run build && playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"migrate": "tsx src/main/db/migration-cli.ts",
"migrate:up": "npm run migrate up",
"migrate:down": "npm run migrate down",
"migrate:status": "npm run migrate status",
"migrate:create": "npm run migrate create",
"migrate:validate": "npm run migrate validate",
"semantic-release": "semantic-release",
"semantic-release:dry-run": "semantic-release --dry-run",
"prepare": "husky",
"check:i18n": "tsx scripts/check-i18n.ts",
"sync:i18n": "tsx scripts/sync-i18n.ts",
"update:i18n": "dotenv -e .env -- tsx scripts/update-i18n.ts",
"auto:i18n": "dotenv -e .env -- tsx scripts/auto-translate-i18n.ts",
"ffmpeg:download": "tsx scripts/download-ffmpeg.ts current",
"ffmpeg:download-all": "tsx scripts/download-ffmpeg.ts all",
"ffmpeg:clean": "tsx scripts/download-ffmpeg.ts clean",
"ffmpeg:test": "tsx scripts/test-ffmpeg-integration.ts"
},
"dependencies": {
"@ant-design/icons": "^6.0.1",
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"@remotion/media-parser": "^4.0.344",
"@sentry/electron": "^5.12.0",
"@swc/core": "^1.13.5",
"antd": "^5.27.3",
"better-sqlite3": "^12.2.0",
"dompurify": "^3.2.6",
"electron-conf": "^1.3.0",
"electron-log": "^5.4.3",
"electron-updater": "^6.6.2",
"hls.js": "^1.6.13",
"immer": "^10.1.3",
"kysely": "^0.28.5",
"macos-release": "^3.4.0",
"marked": "^15.0.12",
"react-hotkeys-hook": "^5.1.0",
"react-player": "3.3.2",
"react-virtualized": "^9.22.6",
"uuid": "^13.0.0",
"zustand": "^5.0.8"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
"@electron-toolkit/eslint-config-ts": "^3.1.0",
"@electron-toolkit/tsconfig": "^1.0.1",
"@eslint-react/eslint-plugin": "^1.53.0",
"@playwright/test": "^1.55.0",
"@redux-devtools/extension": "^3.3.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.5",
"@semantic-release/npm": "^12.0.2",
"@semantic-release/release-notes-generator": "^14.1.0",
"@swc/plugin-styled-components": "^9.1.0",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/better-sqlite3": "^7.6.13",
"@types/cli-progress": "^3.11.6",
"@types/node": "^22.18.1",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"@types/react-virtualized": "^9.22.2",
"@vitejs/plugin-react": "^4.7.0",
"@vitejs/plugin-react-swc": "^3.11.0",
"@vitest/coverage-v8": "^2.1.9",
"@vitest/ui": "^2.1.9",
"@welldone-software/why-did-you-render": "^10.0.1",
"cli-progress": "^3.12.0",
"code-inspector-plugin": "^1.2.7",
"cross-env": "^10.0.0",
"electron": "37.2.4",
"electron-builder": "26.0.19",
"electron-devtools-installer": "^4.0.0",
"electron-vite": "^3.1.0",
"electron-window-state": "^5.0.3",
"eslint": "^9.35.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.2.0",
"framer-motion": "^12.23.12",
"husky": "^9.1.7",
"jschardet": "^3.1.4",
"jsdom": "^25.0.1",
"linguist-languages": "^8.1.0",
"lint-staged": "^16.1.6",
"lucide-react": "^0.536.0",
"msw": "^2.11.1",
"openai": "^5.19.1",
"p-queue": "^8.1.0",
"prettier": "^3.6.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-i18next": "^15.7.3",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.8.2",
"react-virtuoso": "^4.14.0",
"sass": "^1.92.1",
"semantic-release": "^24.2.7",
"styled-components": "^6.1.19",
"subsrt-ts": "^2.1.2",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"vite": "^6.3.5",
"vite-plugin-static-copy": "^3.1.2",
"vitest": "^2.1.9",
"winston-daily-rotate-file": "^5.0.0",
"yaml": "^2.8.1",
"zod": "^3.25.76"
},
"pnpm": {
"onlyBuiltDependencies": [
"electron",
"esbuild",
"@swc/core"
],
"overrides": {
"brace-expansion": "^2.0.1",
"minimatch": "^9.0.5",
"builder-util-runtime": "9.3.3",
"esbuild": "0.25.8",
"glob": "^11.0.0",
"rimraf": "^6.0.1",
"inflight": "npm:@nolyfill/inflight@latest",
"global-agent": "^4.0.0",
"cacache": "^19.0.1"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
}
}