Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/net-im/deltachat-desktop/files/packagejsons/packages/target-electron/package.json
34615 views
1
{
2
"private": true,
3
"type": "module",
4
"name": "@deltachat-desktop/target-electron",
5
"version": "2.43.0",
6
"description": "Desktop Application for delta.chat",
7
"repository": {
8
"type": "git",
9
"url": "git+ssh://[email protected]/deltachat/deltachat-desktop.git"
10
},
11
"keywords": [
12
"deltachat",
13
"email",
14
"messaging",
15
"desktop"
16
],
17
"author": {
18
"name": "DeltaChat Developers",
19
"email": "[email protected]"
20
},
21
"main": "index.js",
22
"license": "GPL-3.0-or-later",
23
"bugs": {
24
"url": "https://github.com/deltachat/deltachat-desktop/issues"
25
},
26
"engines": {
27
"node": ">=20.0.0"
28
},
29
"productName": "DeltaChat",
30
"homepage": "https://delta.chat",
31
"scripts": {
32
"check:types": "tsc --noEmit && tsc --noEmit -p runtime-electron || node ./bin/printCheckWarning.js",
33
"build4production": "NODE_ENV=production pnpm build && pnpm -w check:types",
34
"build": "pnpm build:locales && pnpm build:backend && pnpm --filter=@deltachat-desktop/frontend build && pnpm build:compose-frontend && pnpm build:calls-webapp",
35
"build:locales": "pnpm -w translations:convert",
36
"build:backend": "node ./bin/build.js",
37
"build:calls-webapp": "node ../../bin/copy.js ./node_modules/@deltachat/calls-webapp/dist ./html-dist/calls-webapp",
38
"build:runtime-impl": "pnpm esbuild --format=esm --bundle --minify --keep-names --sourcemap --outdir=./html-dist runtime-electron/runtime.ts",
39
"build:compose-frontend": "node ../../bin/copy.js ../frontend/html-dist ./html-dist && node ../../bin/copy.js ./static ./html-dist && pnpm build:runtime-impl",
40
"watch:compose-frontend": "node ../../bin/copy.js ../frontend/html-dist ./html-dist -w & node ../../bin/copy.js ./static ./html-dist -w & pnpm build:runtime-impl --watch",
41
"watch": "pnpm -w --filter=@deltachat-desktop/frontend watch & pnpm watch:compose-frontend",
42
"dev": "pnpm build && pnpm start",
43
"dev-inspect": "pnpm build && pnpm start --inspect",
44
"start": "NODE_OPTIONS=--enable-source-maps electron . --devmode --disable-http-cache --translation-watch",
45
"clean": "rm -rf ./bundle_out ./html-dist ./dist",
46
"migration-pretest": "esbuild --bundle --sourcemap --platform=node migration-tests/*.ts --outdir=migration-tests/compiled --external:mocha --external:chai --external:adm-zip --external:isomorphic-ws --external:@deltachat/jsonrpc-client --external:@deltachat/stdio-rpc-server --format=esm",
47
"migration-test": "pnpm migration-pretest && NODE_OPTIONS=--enable-source-maps mocha 'migration-tests/compiled/*.js'",
48
"pack:generate_config": "node ./build/gen-electron-builder-config.js && prettier --write ./electron-builder.json5 --log-level silent",
49
"pack:patch-node-modules": "node ../../bin/writeFlatDependencies.js packages/target-electron node_modules",
50
"pack": "pnpm pack:generate_config && pnpm run pack:patch-node-modules && pnpm pack:all && pnpm -w run reset:node_modules",
51
"pack:win": "electron-builder --config ./electron-builder.json5 --win nsis portable",
52
"pack:mac": "electron-builder --config ./electron-builder.json5 --mac dmg mas",
53
"pack:linux:dir": "electron-builder --config ./electron-builder.json5 --linux --dir",
54
"pack:linux": "electron-builder --config ./electron-builder.json5 --linux AppImage deb",
55
"pack:all": "electron-builder --config ./electron-builder.json5 --mac dmg --win nsis portable --linux AppImage deb"
56
},
57
"dependencies": {
58
"@deltachat/jsonrpc-client": "catalog:",
59
"@deltachat/stdio-rpc-server": "catalog:",
60
"@deltachat/calls-webapp": "catalog:",
61
"escape-html": "^1.0.3",
62
"mime-types": "catalog:",
63
"sass": "catalog:",
64
"ws": "7.5.10"
65
},
66
"devDependencies": {
67
"@deltachat-desktop/runtime-interface": "link:../runtime",
68
"@deltachat-desktop/shared": "link:../shared",
69
"@electron/notarize": "^2.4",
70
"@types/adm-zip": "^0.5.5",
71
"@types/chai": "^4.3.17",
72
"@types/debounce": "^1.2.4",
73
"@types/escape-html": "^1.0.4",
74
"@types/mime-types": "catalog:",
75
"@types/mocha": "^10.0.7",
76
"@types/node": "catalog:",
77
"@types/rc": "^1.2.4",
78
"@webxdc/types": "catalog:",
79
"@electron/fuses": "^2.0.0",
80
"adm-zip": "0.5.14",
81
"application-config": "^3.0.0",
82
"chai": "^5.1.1",
83
"chokidar": "^3.6.0",
84
"debounce": "^1.2.0",
85
"electron": "^40.4.1",
86
"electron-builder": "^26.7.0",
87
"esbuild": "^0.25.0",
88
"mocha": "^10.7.0",
89
"rc": "^1.2.8",
90
"typescript": "catalog:"
91
}
92
}
93
94