-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
134 lines (134 loc) · 3.63 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
129
130
131
132
133
134
{
"name": "majsoul-plus",
"version": "2.1.0-alpha.1",
"productName": "Majsoul Plus",
"author": "Majsoul Plus Team",
"description": "Majsoul Plus",
"main": "./dist/index.js",
"scripts": {
"sass": "node-sass -q assets/manager/ -o assets/manager/",
"pre-build": "tsc && yarn sass && node build.js",
"debug": "cross-env NODE_ENV=development run-electron .",
"debug:server": "cross-env NODE_ENV=development SERVER_ONLY=1 run-electron .",
"debug:detailed": "cross-env NODE_ENV=development run-electron . --enable-logging --v=1 --disable-gpu",
"start": "yarn pre-build && yarn debug",
"start:detailed": "yarn pre-build && yarn debug:detailed",
"dist": "yarn pre-build && electron-builder --x64 --ia32 --publish onTagOrDraft",
"build": "yarn pre-build && electron-builder --x64 --ia32",
"lint": "gts check",
"lint:fix": "gts fix",
"clean": "gts clean"
},
"build": {
"productName": "Majsoul Plus",
"artifactName": "Majsoul_Plus-${version}-${platform}-${arch}.${ext}",
"directories": {
"output": "build/"
},
"files": [
"dist/**/*"
],
"fileAssociations": {
"ext": [
"mspr",
"mspe",
"mspm",
"mspt"
],
"description": "Majsoul Plus ResourcePack/Extension/Tool",
"icon": "assets/bin/icons/icon.ico"
},
"afterAllArtifactBuild": "afterAllArtifactBuild.js",
"win": {
"icon": "assets/bin/icons/icon.ico",
"target": [
"nsis",
"zip"
]
},
"nsis": {
"artifactName": "Majsoul_Plus-${version}-${platform}-Setup.${ext}"
},
"mac": {
"icon": "assets/bin/icons/icon.icns",
"darkModeSupport": true,
"target": [
"dmg"
]
},
"linux": {
"icon": "assets/bin/icons/icon.png",
"category": "Game",
"target": [
"tar.gz"
],
"fileAssociations": [
{
"ext": "mspr",
"description": "Majsoul Plus ResourcePack",
"icon": "assets/bin/icons/icon.ico"
},
{
"ext": "mspe",
"description": "Majsoul Plus Extension",
"icon": "assets/bin/icons/icon.ico"
},
{
"ext": "mspm",
"description": "Majsoul Plus Extension",
"icon": "assets/bin/icons/icon.ico"
},
{
"ext": "mspt",
"description": "Majsoul Plus Tool",
"icon": "assets/bin/icons/icon.ico"
}
]
}
},
"pre-commit": [
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/iamapig120/majsoul-custorm-server.git"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/iamapig120/majsoul-custorm-server/issues"
},
"homepage": "https://github.com/iamapig120/majsoul-custorm-server#readme",
"dependencies": {
"adm-zip": "^0.5.10",
"ajv": "^8.12.0",
"chalk": "^2.4.2",
"comma-separated-values": "^3.6.4",
"discord-rich-presence": "^0.0.8",
"electron-fetch": "^1.9.1",
"koa": "^2.14.1",
"koa-router": "^12.0.0",
"prettier": "^2.8.7",
"semver": "^7.3.8",
"tcp-ping": "^0.1.1"
},
"devDependencies": {
"@types/adm-zip": "^0.5.0",
"@types/koa": "^2.13.6",
"@types/koa-router": "^7.4.4",
"@types/ncp": "^2.0.5",
"@types/prettier": "^2.7.2",
"@types/semver": "^7.3.13",
"@types/tcp-ping": "^0.1.3",
"@types/node": "^18.15.11",
"cross-env": "^7.0.3",
"electron": "^13.6.9",
"electron-builder": "^23.6.0",
"gts": "^3.1.1",
"ncp": "^2.0.0",
"node-sass": "^8.0.0",
"run-electron": "^1.0.0",
"eslint": "^8.37.0",
"typescript": "^5.0.3",
"yarn": "^1.22.19"
}
}