Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 2.76 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
{
"name": "key-ring",
"version": "1.0.1",
"description": "Cross-platform desktop account management tool",
"main": "dist/main.js",
"scripts": {
"dev": "concurrently \"npm run dev:renderer\" \"npm run dev:main\"",
"dev:main": "tsc -p tsconfig.main.json && electron dist/main.js",
"dev:renderer": "vite",
"build": "npm run build:main && npm run build:renderer",
"build:main": "tsc -p tsconfig.main.json",
"build:renderer": "vite build",
"package": "npm run build && electron-builder",
"package:win": "npm run build && electron-builder --win",
"package:win:cn": "set ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/&& npm run build && electron-builder --win",
"package:mac": "npm run build && electron-builder --mac",
"package:linux": "npm run build && electron-builder --linux",
"start": "npm run build && electron dist/main.js"
},
"keywords": [
"electron",
"password-manager",
"account-management",
"security"
],
"author": "wyc",
"license": "MIT",
"devDependencies": {
"@types/crypto-js": "^4.1.3",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^4.0.0",
"autoprefixer": "^10.4.16",
"concurrently": "^8.0.0",
"electron": "^27.0.0",
"electron-builder": "^24.0.0",
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"typescript": "^5.0.0",
"vite": "^5.0.0"
},
"dependencies": {
"@types/react-beautiful-dnd": "^13.1.8",
"crypto-js": "^4.1.1",
"lucide-react": "^0.294.0",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.2.0"
},
"build": {
"appId": "com.keyring.app",
"productName": "Key Ring",
"electronDownload": {
"mirror": "https://npmmirror.com/mirrors/electron/"
},
"directories": {
"output": "packages"
},
"files": [
"dist/**/*",
"node_modules/**/*"
],
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
},
{
"target": "portable",
"arch": ["x64"]
}
]
},
"mac": {
"target": [
{
"target": "dmg",
"arch": ["x64", "arm64"]
}
]
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": ["x64"]
},
{
"target": "deb",
"arch": ["x64"]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Key Ring"
},
"dmg": {
"title": "Key Ring Installer",
"backgroundColor": "#ffffff"
}
}
}