Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.92 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 1.92 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
{
"name": "worklog-assistant",
"version": "0.10.0",
"description": "LifeLog — 本地优先的人生记录器",
"main": "electron/main.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"electron": "electron .",
"electron:dev": "concurrently \"npm run dev\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron .\"",
"electron:build": "npm run build && electron-builder && node scripts/patch-exe-icon.js dist-electron",
"build:win": "npm run build && electron-builder --win && node scripts/patch-exe-icon.js dist-electron",
"icon:exe": "node scripts/patch-exe-icon.js --template",
"icons": "electron scripts/build-icons.js",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --ignore-path .gitignore",
"lint:fix": "npm run lint -- --fix",
"test": "node --test"
},
"dependencies": {
"axios": "^1.6.0",
"marked": "^4.3.0",
"vue": "^3.4.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.0",
"concurrently": "^8.2.0",
"cross-env": "^10.1.0",
"electron": "^28.0.0",
"electron-builder": "^24.9.0",
"eslint": "^8.55.0",
"eslint-plugin-vue": "^9.19.0",
"vite": "^5.0.0",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.worklog.assistant",
"productName": "LifeLog",
"directories": {
"output": "dist-electron"
},
"files": [
"dist/**/*",
"electron/**/*",
"mcp/**/*",
"package.json"
],
"asarUnpack": [
"mcp/**/*",
"electron/analytics.js"
],
"extraResources": [
{
"from": "build/icon.png",
"to": "icon.png"
},
{
"from": "build/icon.ico",
"to": "icon.ico"
},
{
"from": "build/tray.png",
"to": "tray.png"
}
],
"win": {
"target": [
"nsis",
"portable"
],
"icon": "build/icon.ico",
"signAndEditExecutable": false
}
}
}