-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 2.03 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 2.03 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
{
"name": "real-time-voice-translator",
"version": "1.0.0",
"description": "Cross-platform desktop application for real-time voice translation during voice calls",
"main": "dist/main.js",
"scripts": {
"start": "electron dist/main.js",
"dev": "nodemon",
"dev:simple": "npm run build && npm run copy-html && npm run build:addon && npm run copy-addon && electron dist/main.js --dev",
"build": "npm run clean && npm run build:main && npm run build:renderer && npm run copy-renderer && npm run copy-html",
"build:main": "tsc -p tsconfig.main.json",
"build:renderer": "tsc -p tsconfig.renderer.json",
"copy-renderer": "copy dist\\renderer\\renderer.js dist\\renderer.js",
"build:watch": "concurrently \"npm run build:main -- --watch\" \"npm run build:renderer -- --watch\"",
"copy-html": "copy src\\index.html dist\\index.html",
"copy-html:watch": "nodemon --watch src/index.html --exec \"npm run copy-html\"",
"electron:wait": "wait-on dist/main.js && electron dist/main.js",
"clean": "rimraf dist",
"build:prod": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"build:addon": "cd native-wasapi-loopback && node-gyp rebuild --target=28.0.0 --arch=x64 --dist-url=https://electronjs.org/headers --runtime=electron",
"copy-addon": "copy native-wasapi-loopback\\build\\Release\\wasapi_loopback.node dist\\wasapi_loopback.node"
},
"keywords": [
"electron",
"voice-translation",
"real-time",
"speech-to-text",
"text-to-speech"
],
"author": "Voice Translator Team",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"concurrently": "^9.2.0",
"electron": "^28.0.0",
"jest": "^29.0.0",
"nodemon": "^3.1.10",
"rimraf": "^5.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0",
"wait-on": "^8.0.4"
},
"dependencies": {
"node-addon-api": "^8.5.0",
"openai": "^4.0.0"
},
"optionalDependencies": {
"@serenade/webrtcvad": "^1.0.0"
}
}