-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.21 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.21 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
{
"name": "codemylink",
"version": "1.1.0",
"description": "CodeMyLink 是一个简单易用的链接转 QR 工具,让任何 URL 秒变二维码",
"main": "electron/main.js",
"scripts": {
"serve": "python3 -m http.server 8000",
"electron": "electron ./electron/main.js",
"desktop": "npm-run-all -p serve electron",
"build:mac": "electron-builder --mac dmg",
"build:win": "electron-builder --win nsis --x64",
"build:all": "electron-builder --mac dmg --win nsis --x64",
"start": "npx http-server -p 8000 -o",
"dev": "npx live-server --port=8000 --open=/index.html",
"build": "echo 'No build process needed for static files'",
"test": "echo 'No tests specified'"
},
"keywords": [
"qr-code",
"url",
"converter",
"web-tool",
"javascript",
"html",
"css"
],
"author": "TheNextHop",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thenexthop2025/CodeMyLink.git"
},
"bugs": {
"url": "https://github.com/thenexthop2025/CodeMyLink/issues"
},
"homepage": "https://github.com/thenexthop2025/CodeMyLink#readme",
"devDependencies": {
"electron": "^30.0.0",
"electron-builder": "^24.13.3",
"http-server": "^14.1.1",
"live-server": "^1.2.2",
"npm-run-all": "^4.1.5"
},
"engines": {
"node": ">=18.0.0"
},
"build": {
"appId": "com.thenexthop.codemylink",
"productName": "CodeMyLink",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"asar": true,
"directories": {
"buildResources": "electron"
},
"files": [
"index.html",
"style.css",
"script.js",
"qrcode.min.js",
"qrcode-standalone.js",
"manifest.json",
"sw.js",
"electron/**/*"
],
"mac": {
"target": [
"dmg"
],
"category": "public.app-category.utilities",
"icon": "electron/icon.icns"
},
"win": {
"icon": "electron/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": true,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": false
}
}
}