an-anime-game-launcher/package.json
Observer KRypt0n_ 8aae9d7059
Builder update
Now repository uses electron-builder instead of electron-packager
2021-10-13 17:14:40 +02:00

79 lines
2.2 KiB
JSON

{
"name": "electron-blank-app",
"version": "1.0.0",
"description": "Electron Blank Application",
"keywords": [
"some",
"keywords"
],
"author": {
"name" : "your_name",
"email" : "your_email",
"url" : "your_site"
},
"license": "GPL-3.0",
"main": "entry.js",
"scripts": {
"dev": "tsc && sass src/sass:public/css -s compressed --no-source-map",
"start": "npm run dev && electron .",
"build:win": "npm run dev && electron-builder --win",
"build:linux": "npm run dev && electron-builder --linux"
},
"build": {
"productName": "Electron Blank Application",
"artifactName": "${productName}-${os}-${arch}-${version}.${ext}",
"appId": "com.electron.blank-app",
"directories": {
"output": "dist"
},
"files": [
"public/**/*",
"entry.js"
],
"win": {
"icon": "public/images/icon512.png",
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
},
{
"target": "portable",
"arch": [
"x64",
"ia32"
]
}
]
},
"linux": {
"icon": "public/images/icon512.png",
"category": "Utility",
"target": [
{
"target": "AppImage",
"arch": [
"x64",
"ia32"
]
}
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
"artifactName": "${productName}-${os}-${version}-setup.${ext}",
"deleteAppDataOnUninstall": true,
"allowToChangeInstallationDirectory": true
}
},
"devDependencies": {
"electron": "^14.0.0",
"electron-builder": "^22.13.1",
"sass": "^1.41.0",
"typescript": "^4.4.3"
}
}