88 lines
2.2 KiB
JSON
88 lines
2.2 KiB
JSON
{
|
|
"name": "nightcord-installer",
|
|
"productName": "Nightcord Installer",
|
|
"description": "A simple standalone program which automates the installation, removal and maintenance of Nightcord.",
|
|
"author": "Nightcord",
|
|
"version": "1.3.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "electron-webpack dev",
|
|
"compile": "electron-webpack",
|
|
"lint": "eslint --ext .svelte,.js src/",
|
|
"dist": "npm run compile && electron-builder --win -p never",
|
|
"dist:dir": "npm run compile && electron-builder --win --dir -c.compression=store"
|
|
},
|
|
"dependencies": {
|
|
"source-map-support": "^0.5.16"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^13.6.9",
|
|
"electron-builder": "^23.6.0",
|
|
"electron-webpack": "^2.8.2",
|
|
"eslint": "^7.21.0",
|
|
"eslint-plugin-svelte3": "^3.1.2",
|
|
"find-process": "https://github.com/BetterDiscord/find-process",
|
|
"focus-visible": "^5.2.0",
|
|
"phin": "^3.7.0",
|
|
"rimraf": "^3.0.2",
|
|
"semver": "^7.3.8",
|
|
"svelte": "^3.38.2",
|
|
"svelte-loader": "^3.1.7",
|
|
"svelte-spa-router": "^3.1.0",
|
|
"tree-kill": "^1.2.2",
|
|
"webpack": "~5.76.0",
|
|
"webpack-bundle-analyzer": "^4.4.0"
|
|
},
|
|
"build": {
|
|
"appId": "app.nightcord.installer",
|
|
"productName": "Nightcord",
|
|
"copyright": "Copyright © 2026 Nightcord",
|
|
"directories": {
|
|
"output": "../release/installer"
|
|
},
|
|
"win": {
|
|
"artifactName": "Nightcord-Installer.${ext}",
|
|
"icon": "assets/icon.ico",
|
|
"target": {
|
|
"target": "portable",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
},
|
|
"portable": {
|
|
"requestExecutionLevel": "user"
|
|
},
|
|
"mac": {
|
|
"artifactName": "${productName}-Mac.${ext}",
|
|
"icon": "assets/icon.icns",
|
|
"category": "public.app-category.social-networking",
|
|
"target": {
|
|
"target": "zip",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
},
|
|
"linux": {
|
|
"artifactName": "${productName}-Linux.${ext}",
|
|
"category": "Utility",
|
|
"target": {
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"electronWebpack": {
|
|
"staticSourceDirectory": "assets",
|
|
"renderer": {
|
|
"webpackConfig": "webpack.renderer.js"
|
|
},
|
|
"main": {
|
|
"webpackConfig": "webpack.main.js"
|
|
}
|
|
}
|
|
}
|