-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.36 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.36 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
{
"name": "source-code-document-generator",
"version": "1.0.0",
"description": "软件著作权源程序文档自动生成工具",
"main": "main.js",
"bin": {
"source-code-document-generator": "cli.js"
},
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"build": "electron-builder",
"pack": "electron-packager . \"源程序Word文档生成器\" --platform=win32 --arch=x64 --out=dist --overwrite",
"dist": "npm run pack"
},
"keywords": [
"source-code",
"document-generator",
"word",
"copyright",
"software-copyright"
],
"author": "Your Name",
"license": "MIT",
"devDependencies": {
"electron": "^27.0.0",
"electron-builder": "^24.13.3",
"electron-packager": "^17.1.2"
},
"dependencies": {
"docx": "^8.5.0",
"fs-extra": "^11.1.1",
"path": "^0.12.7"
},
"build": {
"appId": "com.yourcompany.source-code-doc-generator",
"productName": "源程序Word文档生成器",
"directories": {
"output": "dist"
},
"files": [
"main.js",
"preload.js",
"src/**/*",
"node_modules/**/*"
],
"mac": {
"category": "public.app-category.developer-tools"
},
"win": {
"target": "portable",
"requestedExecutionLevel": "asInvoker"
},
"linux": {
"target": "AppImage"
},
"forceCodeSigning": false
}
}