001a2cbe81
In 1.12.2, some natives do not provide a rules object and instead just omit the classifier from the natives object. We now check for that. Updated electron to v3.0.12.
105 lines
2.9 KiB
JSON
105 lines
2.9 KiB
JSON
{
|
|
"name": "westeroscraftlauncher",
|
|
"version": "1.2.1",
|
|
"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 index.js",
|
|
"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": "^3.0.12",
|
|
"electron-builder": "^20.38.3",
|
|
"eslint": "^5.10.0"
|
|
},
|
|
"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"
|
|
},
|
|
"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
|
|
}
|
|
}
|