-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.98 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
{
"name": "microcks-desktop",
"version": "0.1.0",
"description": "Microcks Desktop - Electron wrapper for Microcks Spring Boot JAR",
"license": "Apache-2.0",
"author": { "name": "Microcks Community", "email": "maintainers@microcks.io" },
"productName": "Microcks Desktop",
"main": "dist/electron/main/index.js",
"scripts": {
"build:main": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"dev": "concurrently -k \"tsc -w\" \"wait-on dist/electron/main/index.js && electron .\"",
"start": "npm run build:main && electron .",
"pack": "npm run build:main && electron-builder --dir",
"dist": "npm run build:main && electron-builder",
"lint": "echo No linter configured",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"dotenv": "^16.4.5",
"tree-kill": "^1.2.2"
},
"devDependencies": {
"@types/node": "^22.5.4",
"concurrently": "^8.2.2",
"electron": "^30.0.0",
"electron-builder": "^24.13.3",
"typescript": "^5.5.4",
"vitest": "^2.0.5",
"wait-on": "^7.2.0"
},
"build": {
"appId": "io.microcks.desktop",
"productName": "Microcks Desktop",
"files": [
"dist/**/*",
"renderer/**/*",
"!**/*.map"
],
"extraResources": [
{
"from": "backend/",
"to": "backend",
"filter": ["*.jar"]
},
{
"from": "jre/",
"to": "jre",
"filter": ["**/*"]
}
],
"directories": {
"buildResources": "build"
},
"win": {
"target": ["nsis"],
"artifactName": "${productName}-${version}-Setup.${ext}",
"icon": "build/icon.png"
},
"mac": { "target": ["dmg", "zip"] },
"linux": { "target": ["AppImage", "deb", "rpm"], "category": "Development", "maintainer": "Microcks Community <maintainers@microcks.io>" },
"nsis": {
"oneClick": true,
"allowToChangeInstallationDirectory": false,
"perMachine": false
},
"afterPack": "scripts/afterPack.js"
}
}