-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.39 KB
/
package.json
File metadata and controls
133 lines (133 loc) · 4.39 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "belnet-gui",
"productName": "Belnet-GUI",
"description": "A Control panel for Belnet",
"version": "1.1.1",
"license": "GPL-3.0",
"author": {
"name": "Beldex International",
"email": "admin@beldex.io"
},
"main": "./dist/main.js",
"scripts": {
"lint": "eslint . --ext .ts --ext .tsx",
"format": "prettier --config .prettierrc './**/*.tsx' './**/*.ts' --write",
"format-and-lint": "yarn format && yarn lint",
"dev": "rimraf -f dist release && yarn compile && yarn concurrently \"yarn dev:electron\" \"yarn dev:react\"",
"dev:electron": "cross-env NODE_ENV=development webpack --config webpack.electron.config.js --mode development && electron .",
"dev:react": "cross-env NODE_ENV=development webpack serve --config webpack.react.config.js --mode development",
"compile:electron": "cross-env NODE_ENV=production webpack --config webpack.electron.config.js --mode production",
"compile:react": "cross-env NODE_ENV=production webpack --config webpack.react.config.js --mode production",
"compile": "yarn compile:electron && yarn compile:react",
"pack": "rimraf -f dist release && yarn compile && electron-builder --dir",
"dist": "rimraf -f dist release && yarn compile ",
"postinstall": "yarn patch-package ",
"win32": "rimraf -f dist release && yarn compile && electron-builder --windows portable",
"deb": "rimraf -f dist release && yarn compile && electron-builder --linux deb --publish=never",
"appImage": "rimraf -f dist release && yarn compile && electron-builder --linux appImage --publish=never",
"appImageFromPack": "electron-builder --prepackaged ./release/linux-unpacked --linux appImage --publish=never",
"publish": "electron-builder build --linux --win --publish always",
"dist:image": "yarn appImage && yarn win32 && yarn deb"
},
"build": {
"appId": "com.electron.belnet.gui",
"publish": [{
"provider": "github",
"owner": "Beldex",
"repo": "belnet-gui"
}],
"directories": {
"output": "release/"
},
"asar": true,
"mac": {
"category": "public.app-category.utilities"
},
"win": {
"target": [
"portable"
]
},
"portable": {
"artifactName": "BELNET-GUI_portable.exe",
"requestExecutionLevel": "admin"
},
"nsis": {
"include": "build-scripts/nsis-installer.nsh"
},
"linux": {
"target": [
"deb", "AppImage"
]
},
"deb": {
"afterInstall": "build-scripts/deb-postinstall.sh"
},
"files": [
"dist/**/*",
"dist/*",
"build-scripts/*",
"icons/*",
"fonts/*",
"images/*",
"js/main.js"
]
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/plugin-transform-runtime": "^7.12.15",
"@babel/preset-env": "^7.12.16",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.12.16",
"@types/lodash": "^4.14.168",
"@types/react-redux": "^7.1.16",
"@types/styled-components": "^5.1.22",
"@types/victory": "^33.1.4",
"@typescript-eslint/parser": "^4.15.1",
"babel-loader": "^8.2.2",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"css-loader": "^5.0.2",
"electron": "^11.2.3",
"electron-builder": "23.1.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.1.0",
"patch-package": "^6.4.6",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"style-loader": "^2.0.0",
"typescript": "^4.1.5",
"webpack": "^5.22.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^4.7.4"
},
"dependencies": {
"@babel/runtime": "^7.12.13",
"@chakra-ui/react": "^1.3.3",
"@emotion/react": "^11.1.5",
"@emotion/styled": "^11.1.5",
"@reduxjs/toolkit": "^1.5.0",
"@types/react": "16.14.0",
"@types/react-dom": "^17.0.1",
"electron-log": "^4.4.8",
"electron-store": "^8.0.1",
"electron-updater": "^5.3.0",
"focus-visible": "^5.2.0",
"framer-motion": "^3.3.0",
"lodash": "^4.17.20",
"react": "16.14.0",
"react-dom": "^17.0.1",
"react-icons": "^4.2.0",
"react-redux": "^7.2.2",
"react-select": "^5.4.0",
"react-use": "^17.1.1",
"styled-components": "^5.3.3",
"victory": "^35.4.9",
"zeromq": "6.0.0-beta.6"
}
}