HeliosLauncher/package.json
Daniel Scalzi de15440e6d
Added option to change data folder location. (#17)
Removed commonDirectory.
Removed instanceDirectory.
Added dataDirectory. The common and instance directories are now resolved from this.
The config.json and distribution.json are now stored in Electron's data folder (app.getPath('userData')).
Users can edit the dataDirectory under launcher settings.
2019-01-04 14:25:27 -05:00

106 lines
2.9 KiB
JSON

{
"name": "westeroscraftlauncher",
"version": "1.5.0",
"productName": "WesterosCraft Launcher",
"description": "Modded Minecraft Launcher",
"author": "Daniel Scalzi (https://github.com/dscalzi/)",
"license": "UNLICENSED",
"homepage": "https://github.com/WesterosCraftCode/ElectronLauncher",
"bugs": {
"url": "https://github.com/WesterosCraftCode/ElectronLauncher/issues"
},
"private": true,
"main": "index.js",
"scripts": {
"start": "electron .",
"cilinux": "electron-builder --linux --win",
"cidarwin": "electron-builder --mac",
"dist": "cross-env ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true electron-builder",
"dist:win": "npm run dist -- --win --x64",
"dist:mac": "npm run dist -- --mac",
"dist:linux": "npm run dist -- --linux --x64",
"lint": "eslint --config .eslintrc.json ."
},
"engines": {
"node": "10.x.x"
},
"dependencies": {
"adm-zip": "^0.4.13",
"async": "^2.6.1",
"discord-rpc": "github:discordjs/RPC",
"ejs": "^2.6.1",
"ejs-electron": "^2.0.3",
"electron-updater": "^4.0.6",
"fs-extra": "^7.0.1",
"github-syntax-dark": "^0.5.0",
"jquery": "^3.3.1",
"request": "^2.88.0",
"semver": "^5.6.0",
"tar-fs": "^1.16.3",
"winreg": "^1.2.4"
},
"devDependencies": {
"cross-env": "^5.2.0",
"electron": "^4.0.0",
"electron-builder": "^20.38.4",
"eslint": "^5.11.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WesterosCraftCode/ElectronLauncher.git"
},
"build": {
"appId": "westeroscraftlauncher",
"productName": "WesterosCraft Launcher",
"artifactName": "${productName}.${ext}",
"copyright": "Copyright © 2018 WesterosCraft",
"directories": {
"buildResources": "build",
"output": "dist"
},
"win": {
"target": [
{
"target": "nsis",
"arch": "x64"
}
],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowElevation": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"allowToChangeInstallationDirectory": true
},
"mac": {
"target": "dmg",
"category": "public.app-category.games",
"icon": "build/icon.icns"
},
"linux": {
"target": "AppImage",
"maintainer": "Daniel Scalzi",
"vendor": "WesterosCraft",
"synopsis": "Custom Launcher for WesterosCraft",
"description": "Custom launcher which allows users to join WesterosCraft. All mods, configurations, and updates are handled automatically.",
"category": "Game"
},
"deb": {
"compression": "xz",
"packageCategory": "Games",
"priority": "optional"
},
"compression": "maximum",
"files": [
"!{dist,.gitignore,.vscode,docs,dev-app-update.yml,.travis.yml,.nvmrc,.eslintrc.json}"
],
"extraResources": [
"libraries"
],
"asar": true
}
}