-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.86 KB
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
{
"name": "pml2",
"version": "1.0.0",
"description": "A new mod loader for the game PolyTrack",
"main": "./patched/electron/main.cjs",
"type": "module",
"scripts": {
"format": "prettier --write . --ignore-path .prettierignore --config .prettierrc",
"lint": "eslint .",
"build:indexes": "node scripts/generateIndexes.js",
"build:pml": "rimraf dist/pml/release && webpack -c ./webpack.config.cjs --mode production",
"build:pml:debug": "rimraf dist/pml/debug && webpack -c ./webpack.config.cjs --mode development",
"build:pml:types": "rimraf types && tsc --declaration --emitDeclarationOnly --outDir types/",
"build:electron": "rimraf dist/electron && electron-builder",
"build:electron:debug": "electron ."
},
"build": {
"appId": "com.polytrackmods.pml2",
"productName": "PML2",
"directories": {
"app": ".",
"output": "dist/electron"
},
"files": [
"node_modules/electron-serve/**/*",
"patched/electron/main.cjs",
"patched/electron/preload.cjs",
"core-index.json",
"index.html",
"patches-index.json",
"sw.js",
"core/**/*",
"dist/pml/release/**/*",
"lib/**/*",
"patches/**/*",
"public/**/*"
],
"extraResources": [
{
"from": "mods/",
"to": "mods/",
"filter": [
"**/*"
]
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"mac": {
"target": [
"dmg",
"zip"
],
"category": "public.app-category.games"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Game"
}
},
"keywords": [
"mod",
"loader",
"PolyTrack"
],
"author": "PolyTrackMods Team",
"license": "MIT",
"packageManager": "pnpm@10.11.0",
"devDependencies": {
"@eslint/js": "^9.31.0",
"@sanity/diff-match-patch": "^3.2.0",
"electron": "^37.2.4",
"electron-builder": "^26.0.12",
"eslint": "^9.31.0",
"globals": "^16.3.0",
"isbinaryfile": "^5.0.4",
"prettier": "3.6.2",
"rimraf": "^6.0.1",
"ts-loader": "^9.5.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.37.0",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"electron-serve": "^2.1.1"
}
}