-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.9 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.9 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "asg-director",
"version": "3.2.4",
"description": "第五人格赛事导播端",
"main": "main.js",
"scripts": {
"start": "chcp 65001 && cross-env NODE_ENV=development electron . --dev",
"dev": "chcp 65001 && cross-env NODE_ENV=development electron . --dev",
"postinstall": "node postinstall.js",
"postinstall:mirror": "cross-env ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron node postinstall.js",
"plugin:pack": "node plugins/tools/package-plugin.js",
"optimize:images": "node scripts/optimize-images.js",
"optimize:images:lossless": "node scripts/optimize-images-lossless.js",
"optimize:images:png:lossy": "node scripts/optimize-images-png-lossy.js",
"clean:bundle": "node -e \"const fs=require('fs');['ASG.Director.7z','vuepress-docs','docs'].forEach(p=>{try{fs.rmSync(p,{recursive:true,force:true});console.log('删除:',p)}catch(e){}})\"",
"prebuild": "npm run clean:bundle",
"postbuild": "npm run analyze:bundle",
"analyze:bundle": "node scripts/analyze-bundle.js",
"build": "electron-builder",
"build:win": "electron-builder --win",
"build:msix": "cross-env ELECTRON_BUILDER_CACHE=./node_modules/app-builder-bin NPM_CONFIG_ELECTRON_BUILDER_BINARIES_MIRROR= electron-builder --win nsis",
"build:mac": "electron-builder --mac",
"builds": "powershell -Command \"$cache = Join-Path $env:LOCALAPPDATA 'app-builder'; $src = Join-Path $cache 'nsis-resources-3.4.1.7z'; $destdir = Join-Path $cache 'nsis-resources-3.4.1'; if (-Not (Test-Path $destdir)) { New-Item -ItemType Directory -Path $destdir | Out-Null }; Copy-Item -Path $src -Destination (Join-Path $destdir 'nsis-resources-3.4.1.7z') -Force; $env:NPM_CONFIG_ELECTRON_BUILDER_BINARIES_MIRROR = 'http://localhost:8000/'; $env:ELECTRON_MIRROR = 'https://npmmirror.com/mirrors/electron/'; $env:ELECTRON_BUILDER_CACHE = Join-Path $env:LOCALAPPDATA 'app-builder'; npm run build\""
},
"author": "ASG",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/luolangaga/ASG.Director"
},
"devDependencies": {
"cross-env": "^10.1.0",
"electron": "^28.3.3",
"electron-builder": "^24.9.1",
"sharp": "^0.34.5"
},
"dependencies": {
"@microsoft/signalr": "^8.0.0",
"adm-zip": "^0.5.16",
"archiver": "^7.0.1",
"bilibili-live-ws": "^6.3.1",
"blockly": "^12.4.1",
"form-data": "^4.0.5",
"pinyin-pro": "^3.27.0",
"rcedit": "^5.0.2",
"ws": "^8.16.0",
"yauzl": "^3.2.0"
},
"build": {
"appId": "DA3D64F4.BPidvevent",
"productName": "Idvevent导播端",
"asar": true,
"compression": "maximum",
"directories": {
"output": "dist",
"buildResources": "."
},
"publish": [],
"win": {
"target": [
"nsis"
],
"icon": "assets/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"unicode": true,
"license": "license_zh_CN.html"
},
"appx": {
"displayName": "BPidvevent",
"identityName": "DA3D64F4.BPidvevent",
"publisher": "CN=CC2339A5-C760-46C3-91D8-130408AF3528",
"publisherDisplayName": "罗澜嘎嘎",
"backgroundColor": "#FFFFFF"
},
"mac": {
"target": "dmg",
"icon": "assets/icon.icns"
},
"files": [
"main.js",
"preload.js",
"updater-v2.js",
"postinstall.js",
"package.json",
"roles.json",
"extracted_roles.json",
"assets/**/*",
"pages/**/*",
"internal/**/*",
"src/**/*",
"plugins/**/*",
"scripts/**/*",
"utils/**/*",
"build/**/*",
"!**/*.md",
"!*.md",
"!**/*.txt",
"!*.txt",
"!**/*.7z",
"!**/*.zip",
"!**/*.rar",
"!vuepress-docs/**/*",
"!docs/**/*",
"!node_modules/.cache",
"!dist/**/*",
"!temp-*/**/*",
"!ASG.Director.7z"
],
"asarUnpack": [
"node_modules/rcedit/**/*"
]
}
}