-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.01 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.01 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
{
"name": "sapar",
"version": "1.0.1",
"description": "Sapar Mini is a lightweight, offline-first media server and file manager",
"license": "MIT",
"author": "Temirkhan Rustemov",
"type": "commonjs",
"main": "start.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "nodemon .",
"server": "node .",
"start": "chcp 65001 > nul && electron .",
"version:patch": "npm version patch --no-git-tag-version",
"build:win": "npm run version:patch && electron-builder --win",
"build:mac": "npm run version:patch && electron-builder --mac",
"build:linux": "npm run version:patch && electron-builder --linux",
"build:portable": "npm run version:patch && electron-builder --win portable"
},
"dependencies": {
"bcryptjs": "^3.0.2",
"bonjour": "^3.5.0",
"cookie-parser": "^1.4.7",
"ejs": "^3.1.10",
"ejs-mate": "^4.0.0",
"express": "^5.1.0",
"file-type": "^16.5.4",
"mime-types": "^3.0.1",
"multer": "^2.0.2",
"socket.io": "^4.8.1"
},
"devDependencies": {
"electron": "^37.2.4",
"electron-builder": "^26.0.12",
"icon-gen": "^5.0.0",
"nodemon": "^3.1.10",
"png-to-ico": "^2.1.8",
"sharp": "^0.34.3"
},
"build": {
"appId": "com.temirkhan.saparmini",
"productName": "Sapar Mini",
"directories": {
"output": "dist"
},
"files": [
"backend/**/*",
"public/**/*",
"views/**/*",
"app.js",
"discover.js",
"start.js",
"test.js",
"package.json",
"!**/*.md",
"!**/*.log"
],
"win": {
"target": [
"nsis",
"msi"
],
"icon": "public/icons/win-icons.ico"
},
"mac": {
"target": "dmg",
"icon": "public/icons/mac-icon.icns"
},
"linux": {
"target": "AppImage",
"icon": "public/icons/logo.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"publish": [
{
"provider": "github"
}
]
}
}