-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.12 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
{
"name": "koen",
"version": "2.0.0",
"description": "Program to convert text to Korean or English",
"keywords": [
"React",
"Electron",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/c9u11/koen"
},
"author": "c9u11",
"main": "./public/electron.js",
"homepage": "./",
"scripts": {
"rebuild": "electron-builder install-app-deps",
"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": "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": "export PYTHON_PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/python && 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"
},
"dependencies": {
"@hurdlegroup/robotjs": "^0.11.4",
"@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/node": "^16.18.39",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"electron-is-dev": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.14.2",
"react-scripts": "5.0.1",
"styled-components": "^6.0.7",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/styled-components": "^5.1.26",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"electron": "^29.1.1",
"electron-builder": "^22.14.7",
"wait-on": "^7.0.1"
},
"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"
]
},
"build": {
"productName": "KoEn",
"appId": "com.electron.koen",
"asar": true,
"files": [
"node_modules/**/*"
],
"mac": {
"target": [
"default"
],
"icon": "./public/assets/icons/mac/icon.icns"
},
"dmg": {
"title": "KoEn",
"icon": "./public/assets/icons/mac/icon.icns"
},
"win": {
"target": [
"zip",
"nsis"
],
"icon": "./public/assets/icons/win/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": false,
"createDesktopShortcut": true,
"perMachine": true
},
"directories": {
"output": "dist/",
"app": "."
}
}
}