Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.59 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
117
118
119
120
121
122
123
124
125
{
"name": "valkey-admin",
"productName": "Valkey Admin",
"description": "A modern admin interface for Valkey databases",
"private": true,
"version": "0.0.0",
"author": {
"name": "Valkey Admin Team",
"email": "admin@valkey.io"
},
"workspaces": [
"apps/frontend",
"apps/server",
"apps/metrics",
"common/*"
],
"main": "apps/frontend/electron.main.js",
"devDependencies": {
"@eslint/js": "^9.32.0",
"@stylistic/eslint-plugin": "^5.3.1",
"@vitest/coverage-v8": "^4.0.15",
"@vitest/ui": "^4.0.15",
"concurrently": "^9.2.0",
"dotenv": "^17.2.3",
"electron": "^38.4.0",
"electron-builder": "^26.0.12",
"electron-notarize": "^1.2.2",
"eslint": "^9.32.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"typescript-eslint": "^8.38.0",
"vitest": "^4.0.15"
},
"scripts": {
"dev": "concurrently \"npm --workspace apps/frontend run dev\" \"npm --workspace apps/server run dev\"",
"build:server": "npm --workspace apps/server run build",
"build:frontend": "npm --workspace apps/frontend run build",
"build:metrics": "npm --workspace apps/metrics run build",
"build:all": "npm run build:server && npm run build:frontend && npm run build:metrics",
"package:mac": "npm run build:all && npx electron-builder --mac --arm64",
"package:mac:nosign": "export CSC_IDENTITY_AUTO_DISCOVERY=false && npm run package:mac",
"package:linux": "npm run build:all && npx electron-builder --linux --x64",
"package:linux:nosign": "set CSC_IDENTITY_AUTO_DISCOVERY=false && npm run package:linux",
"lint": "eslint ."
},
"build": {
"appId": "com.valkey.admin",
"icon": "apps/frontend/assets/img/logo-big.png",
"directories": {
"output": "release"
},
"files": [
"apps/frontend/electron.main.js",
"apps/frontend/dist/**/*",
"package.json"
],
"extraFiles": [
{
"from": "node_modules/@valkey",
"to": "resources/app/node_modules/@valkey"
}
],
"extraResources": [
{
"from": "apps/server/dist/server-bundle.cjs",
"to": "server-backend.js"
},
{
"from": "apps/metrics/dist/index.cjs",
"to": "server-metrics.js"
},
{
"from": "apps/metrics/config.yml",
"to": "config.yml"
},
{
"from": "node_modules/@valkey/valkey-glide",
"to": "node_modules/@valkey/valkey-glide"
},
{
"from": "node_modules/@valkey/valkey-glide-darwin-arm64",
"to": "node_modules/@valkey/valkey-glide-darwin-arm64"
},
{
"from": "node_modules/@valkey/valkey-glide-linux-x64",
"to": "node_modules/@valkey/valkey-glide-linux-x64"
},
{
"from": "node_modules/long",
"to": "node_modules/long"
},
{
"from": "node_modules/protobufjs",
"to": "node_modules/protobufjs"
},
{
"from": "node_modules/@protobufjs",
"to": "node_modules/@protobufjs"
},
{
"from": "node_modules/ws",
"to": "node_modules/ws"
}
],
"mac": {
"target": "dmg",
"notarize": false,
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "mac_build/entitlements.plist",
"entitlementsInherit": "mac_build/entitlements.plist"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Development"
},
"afterSign": "mac_build/notarize.js"
}
}