Files
Advanced-Smtp-Tester/package.json
Danijel Micic cc3c27b674 feat: Add Electron desktop application wrapper
- Create electron-main.js with window, tray, and menu management
- Add Electron and electron-builder dependencies
- Configure build settings for Windows
- Add npm scripts for electron and build
- Desktop app features: system tray, menu bar, auto-start server
2025-12-15 18:23:03 +11:00

83 lines
1.9 KiB
JSON

{
"name": "advanced-smtp-tester",
"version": "1.0.0",
"description": "Advanced Smtp Tester - Desktop Application",
"main": "electron-main.js",
"scripts": {
"start": "node server.js",
"electron": "electron .",
"build": "electron-builder build --win --publish never",
"build:dir": "electron-builder build --win --dir",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DeNNiiInc/Advanced-Smtp-Tester.git"
},
"keywords": [
"smtp",
"email",
"tester",
"desktop"
],
"author": "Beyond Cloud Technology",
"license": "ISC",
"type": "commonjs",
"bugs": {
"url": "https://github.com/DeNNiiInc/Advanced-Smtp-Tester/issues"
},
"homepage": "https://github.com/DeNNiiInc/Advanced-Smtp-Tester#readme",
"dependencies": {
"body-parser": "^2.2.1",
"cors": "^2.8.5",
"express": "^5.2.1",
"nodemailer": "^7.0.11"
},
"devDependencies": {
"electron": "^39.2.7",
"electron-builder": "^26.0.12"
},
"build": {
"appId": "com.beyondcloud.smtptester",
"productName": "Advanced SMTP Tester",
"directories": {
"output": "dist"
},
"files": [
"**/*",
"!dist",
"!node_modules",
"!.git",
"!.gitignore",
"!README.md"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "public/Logo.png",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "SMTP Tester"
},
"portable": {
"artifactName": "${productName}-${version}-portable.${ext}"
}
}
}