-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.67 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.67 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
{
"name": "voicecraft",
"version": "1.1.13",
"description": "Convert books (FB2, EPUB, TXT) to MP3 using text-to-speech",
"main": "dist-electron/main.js",
"scripts": {
"dev": "concurrently \"npm run dev:vite\" \"npm run dev:electron\"",
"dev:vite": "vite",
"dev:electron": "wait-on http://localhost:5173 && npm run build:electron && electron .",
"clean": "rm -rf dist dist-electron release",
"build": "npm run clean && npm run build:vite && npm run build:electron",
"build:vite": "vite build",
"build:electron": "tsc -p electron/tsconfig.json",
"package": "npm run build && electron-builder",
"electron:build": "npm run build && electron-builder",
"electron:build:win": "npm run build && electron-builder --win",
"electron:build:mac": "npm run build && electron-builder --mac",
"electron:build:linux": "npm run build && electron-builder --linux",
"preview": "vite preview",
"setup": "powershell.exe -ExecutionPolicy Bypass -File ./scripts/setup-all.ps1",
"setup:silero": "powershell.exe -ExecutionPolicy Bypass -File ./scripts/setup-silero.ps1",
"release": "node scripts/release.cjs",
"release:minor": "node scripts/release.cjs minor",
"release:major": "node scripts/release.cjs major",
"clean:tts": "scripts\\clean-tts.bat",
"test": "playwright test",
"test:ui": "playwright test --ui",
"test:headed": "playwright test --headed",
"test:debug": "playwright test --debug",
"test:report": "playwright show-report",
"test:interactive": "ts-node tests/interactive-test.ts",
"test:server": "ts-node tests/playwright-server.ts"
},
"dependencies": {
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.1",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slider": "^1.2.1",
"@radix-ui/react-slot": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.6.1",
"epub2": "^3.0.2",
"lucide-react": "^0.460.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^2.5.2",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@types/node": "^22.19.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/xml2js": "^0.4.14",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"electron": "^33.2.0",
"electron-builder": "^25.1.8",
"playwright": "^1.57.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.14",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"wait-on": "^8.0.1"
},
"build": {
"appId": "com.voicecraft.app",
"productName": "VoiceCraft",
"directories": {
"output": "release"
},
"icon": "build/icon",
"files": [
"dist/**/*",
"dist-electron/**/*",
"build/**/*"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false,
"artifactName": "${productName}.Setup.${version}.${ext}"
},
"mac": {
"target": "dmg",
"icon": "build/icon.png",
"artifactName": "${productName}-${version}-macOS.${ext}"
},
"linux": {
"target": "AppImage",
"icon": "build",
"artifactName": "${productName}-${version}-Linux.${ext}"
},
"asar": true,
"compression": "normal",
"removePackageScripts": true
}
}