-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.38 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
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
{
"name": "ZihoCut",
"version": "0.1.0",
"description": "Drag-and-drop YouTube links and cut the videos instantly!",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"electron-is-dev": "^2.0.0",
"electron-remote": "^1.3.0",
"python-shell": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-player": "^2.12.0",
"react-scripts": "5.0.1",
"sass": "^1.65.1",
"styled-components": "^6.0.7",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
"main": "./public/electron.js",
"homepage": "./",
"keywords": [],
"author": "piz2a <i@piz2a.me>",
"license": "MIT",
"build": {
"productName": "zihocut",
"appId": "io.github.piz2a.zihocut",
"asar": true,
"extraFiles": [
"assets",
"config.txt"
],
"protocols": {
"name": "zihocut",
"schemes": [
"zihocut"
]
},
"mac": {
"target": [
"dmg",
"pkg"
],
"icon": "./build/icon.png"
},
"dmg": {
"title": "tournant",
"icon": "./build/icon.png"
},
"win": {
"target": [
"zip",
"nsis"
],
"icon": "./build/icon.png"
},
"linux": {
"target": [
"AppImage",
"deb",
"rpm",
"zip",
"tar.gz"
],
"icon": "./build/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": false,
"installerLanguages": [
"en_US",
"ko_KR"
],
"language": "1042"
},
"directories": {
"output": "dist/",
"app": "."
}
},
"scripts": {
"react-start": "react-scripts start",
"react-build": "react-scripts build",
"react-test": "react-scripts test",
"react-eject": "react-scripts eject",
"start-renderer": "cross-env BROWSER=none npm run react-start",
"start-main": "npm run compile-main && electron .",
"compile-main": "tsc ./public/electron.ts",
"start-main-after-renderer": "wait-on http://localhost:3000 && npm run start-main",
"dev": "npm run compile-main && concurrently -n renderer, main 'npm:start-renderer' 'npm:start-main-after-renderer'",
"pack": "npm run compile-main && npm run react-build && electron-builder --dir",
"build": "npm run compile-main && npm run react-build && electron-builder build",
"build:osx": "npm run build -- --mac",
"build:linux": "npm run build -- --linux",
"build:win": "npm run build -- --win",
"predist": "npm run compile-main"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/node": "^20.5.0",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"electron": "^26.0.0",
"electron-builder": "^24.6.3",
"wait-on": "^7.0.1"
}
}