-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.49 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
{
"name": "psp-consoliser-programmer",
"version": "1.0.0",
"main": "dist/main.js",
"license": "MIT",
"author": "Stephen Cooper <[email protected]>",
"description": "PSP Consolizer firmware installer",
"dependencies": {
"@serialport/parser-readline": "^10.3.0",
"arduino-cli": "^0.37.0",
"bootstrap": "^5.2.2",
"serialport": "^10.4.0"
},
"scripts": {
"copy": "node copyAssets.js",
"build": "rm -rf dist && tsc && yarn copy",
"start": "yarn build && electron dist/main.js",
"package": "node prepackage.js && rm -rf build && yarn build && electron-builder -w --x64 --publish=never",
"arduino": "./arduino-cli.exe",
"arduinoFirmware": "./arduino-fwuploader.exe",
"builder": "electron-builder"
},
"devDependencies": {
"@tsconfig/node16": "^1.0.3",
"@types/electron": "^1.6.10",
"electron": "^21.1.0",
"electron-builder": "^23.6.0",
"fs-extra": "^10.1.0",
"typescript": "^4.8.4"
},
"build": {
"portable": {
"splashImage": "favicon.ico"
},
"asarUnpack": [
"dist/arduino-cli.exe",
"dist/arduino-fwuploader.exe",
"dist/CheckFirmwareVersion.ino.bin",
"dist/PSP-Bluetooth-Controller.ino.bin",
"dist/SerialNINAPassthrough.ino.bin",
"dist/bluepad32-nina.bin"
],
"files": [
"dist/**/*",
"package.json"
],
"directories": {
"output": "build"
},
"appId": "yourappid",
"win": {
"target": "portable",
"icon": "favicon.ico"
}
}
}