d779eacf61
You can now drag one or more files onto the add mods button in order to add them to the mods directory. Only jar, litemod, and zip files will be moved. Changed eslint to use a single configuration file, with overrides for the UI scripts. Now using fs-extra, replace usages of rimraf and mkdirp with fs-extra functions.
105 lines
2.9 KiB
JSON
105 lines
2.9 KiB
JSON
{
|
|
"name": "westeroscraftlauncher",
|
|
"version": "1.2.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 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": "discordjs/RPC",
|
|
"ejs": "^2.6.1",
|
|
"ejs-electron": "^2.0.3",
|
|
"electron-updater": "^4.0.5",
|
|
"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.10",
|
|
"electron-builder": "^20.38.2",
|
|
"eslint": "^5.9.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.scripts.json,.eslintrc.json}"
|
|
],
|
|
"extraResources": [
|
|
"libraries"
|
|
],
|
|
"asar": true
|
|
}
|
|
}
|