-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 3.71 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "lithiumgit",
"version": "1.0.5",
"description": "A git gui application",
"scripts": {
"build": "tsc && npm run copy_src_assets",
"copy_src_assets": "copyfiles -u 2 \"src/icons/**/*\" dist/icons",
"configure_dev": "cross-env-shell NODE_ENV=development ui_PORT=54533",
"watch": "tsc -w",
"lint": "eslint -c .eslintrc --ext .ts ./src",
"start": "npm run build && electron ./dist/main.js",
"build_ui": "cd ui && npm run build",
"build_common_library": "cd common_library && npm run build",
"copy_files": "copyfiles -u 2 \"ui/build/**/*\" dist/ui",
"build_all": "npm run build_ui && npm run copy_files && npm run build",
"package": "set NODE_OPTIONS=--openssl-legacy-provider && npm run build_all && electron-builder build",
"package-linux": "export NODE_OPTIONS=--openssl-legacy-provider && npm run build_all && electron-builder build --linux",
"package-mac": "export NODE_OPTIONS=--openssl-legacy-provider && npm run build_all && electron-builder build --mac"
},
"main": "./dist/main.js",
"keywords": [
"Git",
"gui",
"app",
"ui"
],
"author": "Tulshi Chandra Das <[email protected]>",
"email": "[email protected]",
"license": "MIT",
"devDependencies": {
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.13",
"@types/nedb": "^1.8.12",
"@types/node": "^16.4.7",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.28.4",
"copyfiles": "^2.4.1",
"electron": "^13.1.7",
"electron-builder": "^23.0.3",
"eslint": "^7.32.0",
"typescript": "^4.6.4"
},
"dependencies": {
"axios": "^1.7.9",
"common_library": "file:common_library",
"detect-file-encoding-and-language": "^2.4.0",
"electron-updater": "^5.0.1",
"fs-extra": "^10.1.0",
"nedb": "^1.8.0",
"simple-git": "3.10.0"
},
"build": {
"productName": "LithiumGit",
"appId": "org.lithiumgit.opensource",
"asar": false,
"asarUnpack": "**\\*.{node,dll}",
"files": [
"dist",
"node_modules",
"package.json"
],
"mac": {
"target": {
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "assets/entitlements.mac.plist",
"entitlementsInherit": "assets/entitlements.mac.plist",
"gatekeeperAssess": false
},
"dmg": {
"icon": "icons/512x512.png",
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
"nsis"
]
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": false,
"installerIcon": "icon.ico",
"uninstallerIcon": "icon.ico",
"license": "LICENSE",
"runAfterFinish": true
},
"linux": {
"icon": "icons/256x256.icns",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"category": "Development"
},
"directories": {
"app": ".",
"buildResources": "assets",
"output": "release/build"
},
"extraResources": [
"./assets/**"
],
"publish": {
"provider": "github",
"owner": "tulshidas39",
"repo": "lithiumgit"
},
"artifactName": "LithiumGit-Setup-${os}-${arch}-${version}.${ext}"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tulshidas39/LithiumGit.git"
}
}