/
package.json
99 lines (99 loc) · 2.26 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
{
"name": "tabata-timer",
"version": "0.1.0",
"license": "MIT",
"homepage": "./",
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"eslintConfig": {
"extends": "react-app"
},
"build": {
"appId": "com.your-domain",
"compression": "normal",
"productName": "Example",
"directories": {
"buildResources": "build",
"output": "dist"
},
"mac": {
"icon": "assets/icon.icns",
"type": "distribution",
"target": [
"pkg",
"dmg",
"mas"
],
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
},
"category": "public.app-category.news"
},
"mas": {
"entitlements": "assets/entitlements.mas.plist",
"entitlementsInherit": "assets/entitlements.mas.inherit.plist",
"provisioningProfile": "assets/embedded.provisionprofile"
},
"win": {
"target": "nsis",
"icon": "assets/icon.ico",
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
}
},
"linux": {
"icon": "assets/icon.png",
"target": [
"snap",
"AppImage"
],
"description": "Example",
"category": "Network;Feed",
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
}
}
},
"main": "public/electron.js",
"scripts": {
"dev": "yarn react-scripts start",
"build": "react-scripts build",
"start": "concurrently --kill-others \"cross-env BROWSER=none yarn react-scripts start\" \"wait-on http://localhost:3000 && electron .\"",
"pack": "electron-builder --dir",
"dist": "npx build --x64 --macos --win --linux --c.extraMetadata.main=build/electron.js -p always",
"test": "react-scripts test"
},
"dependencies": {
"electron-is-dev": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/jest": "29.5.2",
"@types/node": "20.9.2",
"@types/react": "18.2.23",
"@types/react-dom": "18.2.7",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^27.0.4",
"electron-builder": "^24.4.0",
"electron-devtools-installer": "3.2.0",
"electron-publisher-s3": "^20.17.2",
"node-sass": "^8.0.0",
"react-dev-utils": "^12.0.1",
"react-scripts": "5.0.1",
"typescript": "5.3.2",
"version-bump-prompt": "^6.1.0",
"wait-on": "7.0.1"
}
}