generated from AuroraTeam/Launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 4.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "aurora-launcher-app",
"version": "0.0.4",
"description": "Launcher for Minecraft",
"main": "build/main/index.js",
"private": true,
"scripts": {
"dev": "concurrently -i -n electron,main,preload,renderer -c cyan.bold,blue.bold,yellow.bold,magenta.bold \"npm:start:dev\" \"npm:build:main -- --watch --sourcemap=inline\" \"npm:build:preload -- --watch --sourcemap=inline\" \"vite\"",
"build": "concurrently -n main,preload,renderer -c blue.bold,yellow.bold,magenta.bold \"npm:build:main\" \"npm:build:preload\" \"npm:build:renderer\" --kill-others-on-fail",
"build:main": "node build.mjs",
"build:preload": "esbuild src/preload/index.ts --platform=node --bundle --outdir=build/preload --external:electron --format=iife",
"build:renderer": "tsc && vite build",
"start:dev": "cross-env DEV=true nodemon --watch src --ext ts,tsx --ignore 'src/renderer' --exec npm run start:prod",
"start:prod": "electron .",
"clean": "rimraf build out",
"prettier": "prettier --config .prettierrc.json --write src",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"pack": "electron-builder --dir",
"release": "electron-builder",
"obf": "javascript-obfuscator build/main/index.js --output build/main/index-obf.js --split-strings-chunk-length 8",
"bytenode": "bytenode -c build/main/index-obf.js -e"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AuroraTeam/Launcher.git"
},
"author": "AuroraTeam",
"contributors": [
"JoCat (https://github.com/JoCat)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/AuroraTeam/Launcher/issues"
},
"homepage": "https://github.com/AuroraTeam/Launcher#readme",
"devDependencies": {
"@aurora-launcher/esbuild-decorators": "^0.0.1",
"@types/node": "^18.17.15",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/semver": "^7.3.8",
"@types/tar": "^6.1.6",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitejs/plugin-react": "^4.0.0",
"bytenode": "^1.5.3",
"concurrently": "^8.0.1",
"cross-env": "^7.0.3",
"electron": "^26.1.0",
"electron-builder": "^24.6.4",
"electron-extension-installer": "^1.1.3",
"esbuild": "^0.19.2",
"eslint": "^8.13.0",
"eslint-plugin-react": "^7.31.1",
"import-sort-style-module": "^6.0.0",
"javascript-obfuscator": "^4.1.0",
"minimist": "^1.2.8",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"prettier-plugin-import-sort": "^0.0.7",
"rimraf": "^5.0.0",
"sass": "^1.55.0",
"source-map-support": "^0.5.21",
"typescript": "^5.0.4",
"vite": "^5.0.9"
},
"dependencies": {
"@aurora-launcher/api": "^0.3.0",
"@aurora-launcher/core": "^0.18.0",
"electron-updater": "^6.1.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"recoil": "^0.7.5",
"reflect-metadata": "^0.1.13",
"semver": "^7.3.5",
"skinview3d": "^2.2.1",
"tar": "^6.2.0",
"typedi": "^0.10.0"
},
"importSort": {
".tsx, .ts, .mjs, .js": {
"style": "module",
"parser": "typescript"
}
},
"build": {
"appId": "ru.aurora.launcher",
"productName": "Aurora Launcher",
"publish": [
{
"provider": "github",
"releaseType": "release",
"owner": "AuroraTeam",
"repo": "Launcher"
}
],
"directories": {
"buildResources": "resources"
},
"files": [
"build/**/*",
"!node_modules/**/*"
],
"nsis": {
"artifactName": "${name}-Setup-${version}.${ext}"
},
"mac": {
"category": "public.app-category.games"
},
"linux": {
"target": [
"deb",
"rpm",
"AppImage"
],
"category": "Game",
"maintainer": "AuroraTeam <[email protected]>"
}
},
"optionalDependencies": {
"@swc/core-linux-x64-gnu": "^1.3.96",
"@swc/core-linux-x64-musl": "^1.3.96"
}
}