mirror of
https://github.com/DeNNiiInc/Advanced-Smtp-Tester.git
synced 2026-04-17 17:35:59 +00:00
- Add explicit 'package' script to package.json to avoid npx issues - Update workflow to use 'npm run package' - Use wildcard path for compression to handle folder naming variations - Add 'ls dist' for debugging
85 lines
2.1 KiB
JSON
85 lines
2.1 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",
|
|
"package": "electron-packager . \"Advanced-SMTP-Tester\" --platform=win32 --arch=x64 --out=dist --overwrite",
|
|
"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",
|
|
"electron-packager": "^17.1.2"
|
|
},
|
|
"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}"
|
|
}
|
|
}
|
|
} |