-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
111 lines (111 loc) · 2.86 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
{
"name": "electron-cra-setup",
"version": "0.1.0",
"private": true,
"main": "public/electron.js",
"homepage": "./",
"author": {
"name": "Roldan Montilla Jr",
"email": "[email protected]",
"url": "https://github.com/roldanjr"
},
"description": "Basic Electron + CRA setup to get you started.",
"scripts": {
"start:react": "react-scripts start",
"build:react": "react-scripts build",
"eject": "react-scripts eject",
"test": "react-scripts test",
"clean": "rimraf dist/ build/",
"electron": "wait-on http://localhost:3000 && electron .",
"develop": "concurrently \"npm run start:react\" \"npm run electron\"",
"build:dir": "npm run build:react && electron-builder --dir",
"build:win": "npm run build:react && electron-builder --win",
"build:mac": "npm run build:react && electron-builder --mac",
"build:linux": "npm run build:react && electron-builder --linux",
"build:mwl": "npm run build:react && electron-builder -mwl",
"release": "npm run build:react && electron-builder --publish always"
},
"build": {
"productName": "ElectronCRA",
"appId": "com.roldanjr.ElectronCRA",
"copyright": "Copyright © 2020 ${author}",
"files": [
"build"
],
"mac": {
"artifactName": "ElectronCRA-v${version}-mac.${ext}",
"category": "public.app-category.utility",
"icon": "./build/logo512.png"
},
"win": {
"target": [
{
"target": "portable",
"arch": [
"x64",
"ia32"
]
},
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "./build/logo.ico"
},
"portable": {
"artifactName": "ElectronCRA-v${version}-portable.${ext}"
},
"nsis": {
"artifactName": "ElectronCRA-v${version}-setup.${ext}"
},
"linux": {
"artifactName": "ElectronCRA-v${version}-linux.${ext}",
"target": [
"AppImage",
"deb",
"rpm"
],
"icon": "./build/logo256.png",
"category": "utility"
}
},
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.0",
"web-vitals": "^0.2.4"
},
"devDependencies": {
"concurrently": "^5.3.0",
"electron": "^10.1.5",
"electron-builder": "^22.9.1",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"wait-on": "^5.2.0"
},
"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"
]
}
}