-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.2 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
{
"name": "electron-flask",
"version": "1.1.0",
"description": "",
"main": "renderer.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "electron .",
"package": "npm run -s package-python && npm run -s package-electron && npm run -s package-cleanup",
"package-python": "pyinstaller -w -F --add-data web_app/app/templates;templates --add-data web_app/app/static;static web_app/run_app.py --distpath dist-python",
"package-electron": "electron-builder",
"package-cleanup": "rm -rf build && rm -rf run_app.spec && rm -rf dist-python"
},
"build": {
"appId": "com.electron-flask.my-app",
"productName": "ElectronFlask",
"asar": false,
"asarUnpack": [
"**/*.node"
],
"mac": {
"category": "public.app-category.utilities"
},
"files": [
"renderer.js",
"node_modules/**/*"
],
"extraResources": [
{
"from": "dist-python/",
"to": "app/dist-python",
"filter": [
"**/*"
]
}
]
},
"author": "",
"license": "ISC",
"dependencies": {
"ps-tree": "^1.2.0"
},
"devDependencies": {
"electron": "^6.0.10",
"electron-builder": "^21.2.0"
}
}