-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.34 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.34 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
{
"name": "habit-app",
"version": "1.0.0",
"description": "多用户习惯打卡应用",
"main": "electron/main.js",
"scripts": {
"start": "concurrently \"node server.js\" \"electron electron/main.js\"",
"electron": "electron electron/main.js",
"electron-build": "electron-builder",
"dist": "electron-builder"
},
"build": {
"appId": "com.yourname.habit-app",
"productName": "自律的迪莫",
"directories": {
"output": "dist"
},
"files": [
"electron/**/*",
"public/**/*",
"server.js",
"database.js",
"package.json"
],
"extraResources": [
{
"from": "data.db",
"to": "data.db",
"filter": ["**/*"]
}
],
"asar": false,
"mac": {
"category": "public.app-category.lifestyle",
"icon": "electron/dimo.icns"
},
"win": {
"target": "nsis"
}
},
"dependencies": {
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-session": "^1.17.3",
"jsonwebtoken": "^9.0.3",
"multer": "^2.1.1",
"mysql2": "^3.6.0",
"node-cron": "^3.0.2",
"node-fetch": "^2.7.0",
"sqlite": "^5.1.1",
"sqlite3": "^5.1.7"
},
"devDependencies": {
"concurrently": "^9.2.1",
"electron": "^41.7.0",
"electron-builder": "^26.8.1"
}
}