-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.84 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
{
"name": "markdown-converter",
"version": "1.0.0",
"description": "Markdown to DOCX Converter with LaTeX support",
"main": "electron/main.js",
"scripts": {
"dev": "concurrently \"npm run react:dev\" \"npm run electron:dev\"",
"react:dev": "vite",
"electron:dev": "wait-on http://localhost:5173 && electron .",
"build": "vite build",
"electron:build": "electron-builder",
"dist": "npm run build && npm run electron:build",
"setup:python": "cd python && python -m venv venv && venv\\Scripts\\activate && pip install -r requirements.txt"
},
"keywords": ["markdown", "docx", "converter", "latex", "electron"],
"author": "User",
"license": "MIT",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"electron-is-dev": "^2.0.0"
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.2.0",
"autoprefixer": "^10.4.16",
"concurrently": "^8.2.0",
"electron": "^28.0.0",
"electron-builder": "^24.9.0",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.0",
"vite": "^5.0.0",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.markdown.converter",
"productName": "Markdown to DOCX",
"directories": {
"output": "dist"
},
"files": [
"dist/**/*",
"electron/**/*",
"python/**/*",
"!python/venv/**/*",
"!python/__pycache__/**/*",
"!**/*.pyc"
],
"win": {
"target": ["nsis", "portable"],
"icon": "public/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"mac": {
"target": "dmg",
"icon": "public/icon.icns"
},
"linux": {
"target": "AppImage",
"category": "Utility"
}
}
}