-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
95 lines (95 loc) · 2.7 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "yts-streaming",
"version": "4.0.0",
"private": true,
"type": "module",
"main": "build/electron.js",
"scripts": {
"start": "vite --port 3000",
"build": "vite build && tsc --project electron",
"postbuild": "shx cp -r ./electron/assets ./electron/views ./build",
"clean": "shx rm -r dist build",
"preview": "vite preview",
"watch-electron": "tsc --watch --project electron",
"preelectron": "mkdir ./build && npm run postbuild || npm run postbuild",
"electron": "electron .",
"preelectron-dev": "npm run preelectron && tsc --project electron",
"electron-dev": "concurrently \"npm run watch-electron\" \"npm start\" \"npm run electron\"",
"electron-pack": "electron-builder build -lw",
"preelectron-pack": "npm run build",
"format": "prettier --write \"./**/*.{ts,tsx,json}\"",
"lint": "eslint --fix --ext .ts,.tsx,.js,.jsx ."
},
"dependencies": {
"electron-is-dev": "^3.0.1",
"electron-window-state": "^5.0.3",
"express": "^4.19.2",
"srt2vtt": "^1.3.1",
"webtorrent": "^2.1.36"
},
"devDependencies": {
"@types/express": "^4.17.14",
"@types/node": "^20.11.23",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@types/webtorrent": "^0.109.8",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@vitejs/plugin-react": "^2.2.0",
"concurrently": "^8.2.2",
"electron": "^29.1.0",
"electron-builder": "^24.13.3",
"eslint": "^8.27.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.10",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.3",
"sass": "^1.56.1",
"shx": "^0.3.4",
"typescript": "~4.8.0",
"vite": "^3.2.3",
"vite-plugin-eslint": "^1.8.1"
},
"build": {
"extraMetadata": {
"main": "dist/electron.js"
},
"files": [
{
"from": "build",
"to": "dist"
},
"package.json"
],
"directories": {
"buildResources": "builder_assets"
},
"asar": true,
"appId": "com.mbpn1.yts-streaming",
"copyright": "Copyright 2024 Maharjan-Bipin",
"compression": "normal",
"win": {
"target": "nsis"
},
"linux": {
"target": "AppImage",
"category": "Video"
},
"nsis": {
"oneClick": true,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"deleteAppDataOnUninstall": true,
"allowElevation": true,
"include": "builder_assets/installerMacro.nsh",
"warningsAsErrors": false
}
},
"volta": {
"node": "18.19.1"
}
}