forked from datature/portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.81 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
{
"name": "portal",
"version": "0.5.5",
"author": "Datature",
"private": true,
"main": "./src/app/main.js",
"scripts": {
"portal_build": "cross-env NODE_ENV=portalbuild ROOT_DIR=./portal_build npx electron ./portal_build/main.js",
"portal-dev": "cross-env NODE_ENV=development npx electron ./src/app",
"portal-prod": "npx electron ./src/app",
"build:dev": "chmod +x setup.sh && . ./setup.sh",
"build:dev-win": "setup.sh",
"build:prod": "chmod +x build-electron.sh && . ./build-electron.sh",
"build:prod-win": "build-electron.sh",
"postinstall": "electron-builder install-app-deps",
"pack": "set DEBUG=electron-builder electron-builder --dir",
"dist": "electron-builder"
},
"build": {
"asar": false,
"appId": "com.electron.datatureportal",
"productName": "Portal",
"copyright": "Copyright © 2021 Datature",
"directories": {
"output": "./application",
"app": "./src/app"
},
"extraResources": [
{
"from": "./portal_build/out",
"to": "./app/out"
},
{
"from": "./portal_build/dist",
"to": "./dist"
}
],
"extraFiles": [
"./build/icon.*"
],
"mac": {
"category": "public.app-category.developer-tools"
},
"win": {
"target": "nsis"
},
"linux": {
"target": "AppImage"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"dependencies": {
"cross-env": "^7.0.3",
"electron-log": "^4.3.5",
"electron-squirrel-startup": "^1.0.0",
"fs": "0.0.1-security",
"node-fetch": "^2.6.1",
"python-shell": "^1.0.8",
"recharts": "^2.5.0"
},
"devDependencies": {
"@types/react": "^18.0.34",
"electron": "^13.1.2",
"electron-builder": "^22.10.5",
"npx": "^10.2.2"
}
}