-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.36 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
{
"name": "electron-react-boilerplate",
"version": "0.3.0",
"private": true,
"description": "A boilerplate to develop an electron application with react in a simple manner",
"repository": {
"type": "git",
"url": "[email protected]:fliegwerk/electron-react-boilerplate.git"
},
"homepage": "./",
"bugs": {
"url": "https://github.com/fliegwerk/electron-react-boilerplate/issues"
},
"author": {
"name": "fliegwerk",
"email": "[email protected]",
"url": "https://www.fliegwerk.com/"
},
"scripts": {
"prestart": "concurrently npm:build:main npm:build:preload",
"start": "concurrently --kill-others --raw npm:start:renderer npm:start:main || exit 0",
"start:main": "wait-on http://localhost:3000 && electron ./build/electron.js",
"start:renderer": "cross-env BROWSER=none react-scripts start || exit 0",
"build": "concurrently npm:build:main npm:build:preload npm:build:renderer",
"build:main": "webpack --config webpack.main.js",
"build:preload": "webpack --config webpack.preload.js",
"build:renderer": "react-scripts build",
"postinstall": "electron-builder install-app-deps",
"test": "react-scripts test",
"style": "prettier --write package.json \"**/*{.ts,.tsx,.js,.jsx,.json,.html,.css,.scss,.yaml,.yml,.md}\"",
"style:ci": "prettier --list-different package.json \"**/*{.ts,.tsx,.js,.jsx,.json,.html,.css,.scss,.yaml,.yml,.md}\"",
"lint": "eslint src/**/*{.ts,.tsx,.js,.jsx} --ignore-pattern node_modules/ --no-error-on-unmatched-pattern",
"package": "npm run build && electron-builder -mwl",
"package:linux": "npm run build && electron-builder --linux",
"package:win": "npm run build && electron-builder --win",
"package:mac": "npm run build && electron-builder --mac"
},
"build": {
"appId": "com.fliegwerk.electron-react-boilerplate",
"productName": "Electron React Boilerplate",
"publish": [
"github"
],
"files": [
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "resources",
"output": "release"
},
"win": {
"target": [
"portable",
"nsis"
],
"icon": "win/icon.ico"
},
"mac": {
"category": "public.app-category.utilities",
"target": [
"default"
],
"icon": "mac/icon.icns"
},
"linux": {
"category": "Utility",
"target": [
"AppImage",
"deb",
"rpm"
],
"icon": "png/"
}
},
"dependencies": {
"electron-is-dev": "^2.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"@types/react-dom": "^18.0.3",
"concurrently": "^7.1.0",
"cross-env": "^7.0.3",
"electron": "^19.0.3",
"electron-builder": "^23.0.3",
"electron-devtools-installer": "^3.2.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "2.8.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "5.0.1",
"react-test-renderer": "^17.0.2",
"ts-loader": "^8.3.0",
"typescript": "^4.6.3",
"wait-on": "^6.0.1",
"webpack-cli": "^4.10.0",
"webpack-node-externals": "^3.0.0"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"plugin:prettier/recommended",
"prettier"
],
"plugins": [
"prettier"
]
},
"browserslist": [
"last 2 chrome versions"
]
}