-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
129 lines (129 loc) · 3.55 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
{
"name": "nipaplay",
"productName": "NipaPlay",
"version": "1.6.13",
"description": "咪啪~☆",
"main": "main.js",
"author": "DFsteve",
"license": "GPLv3",
"asar": false,
"dependencies": {
"electron-store": "^8.2.0",
"electron-updater": "^6.1.8",
"got": "^14.3.0",
"jsdom": "^24.0.0",
"libass-wasm": "^4.1.0",
"prebuild-install": "^7.1.2",
"smb2": "^0.2.11",
"steamworks": "^0.0.1",
"steamworks.js": "^0.3.1",
"uuid": "^9.0.1",
"video.js": "^8.12.0",
"videojs-contrib-hls": "^1.3.12"
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
"rebuild": "electron-rebuild",
"start": "electron .",
"prebuild:mac": "node scripts/prebuild.js mac",
"prebuild:win": "node scripts/prebuild.js win",
"prebuild:linux": "node scripts/prebuild.js linux",
"win": "npm run prebuild:win && electron-builder --win --x64",
"woa": "npm run prebuild:win && electron-builder --win --arm64",
"mac": "npm run prebuild:mac && electron-builder --mac",
"macx64": "npm run prebuild:mac && electron-builder --mac --x64",
"linux": "npm run prebuild:linux && electron-builder --linux --x64",
"linuxarm": "npm run prebuild:linux && electron-builder --linux",
"build": "npm run win && npm run mac && npm run macx64 && npm run linux && npm run linuxarm && npm run woa",
"build2": "npm run win && npm run mac && npm run macx64 && npm run linux",
"test": "npm run win && npm run mac && npm run macx64"
},
"fileAssociations": [
{
"ext": [
"mp4",
"avi",
"mov",
"mkv",
"wmv",
"flv",
"m4v",
"webm"
],
"name": "Video Files",
"role": "Viewer"
}
],
"build": {
"appId": "com.dfsteve.nipaplay",
"asar": false,
"files": [
"**/*",
"!**/*.ts",
"!*.code-workspace",
"!**/*.js.map",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/node_modules/.bin",
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
"!**/._*",
"!**/electron-builder.yml",
"!**/.DS_Store",
"!**/*.bak",
"!**/ffmpeg/ffmpeg_mac",
"!**/ffmpeg/ffmpeg_win"
],
"publish": {
"provider": "github",
"owner": "mcdfsteve",
"repo": "nipaplay"
},
"mac": {
"target": [
"pkg"
],
"hardenedRuntime": false,
"gatekeeperAssess": false,
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"identity": null,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.inherit.plist"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"installerSidebar": "others/sidebar.bmp",
"uninstallerSidebar": "others/sidebar.bmp"
},
"linux": {
"target": [
"zip"
],
"category": "Utility",
"icon": "icon.png",
"extraResources": [
"assets"
],
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
},
"win": {
"target": [
"nsis"
],
"icon": "icon.ico",
"extraResources": [
"assets"
],
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
}
},
"keywords": [],
"devDependencies": {
"electron": "^29.3.0",
"electron-builder": "^24.13.3",
"electron-packager": "^17.1.2",
"electron-rebuild": "^3.2.9"
}
}