Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.03 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 3.03 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "margin",
"productName": "Margin",
"version": "2.4.0",
"description": "Read a paper beside an AI tutor whose citations jump to the exact page and equation.",
"homepage": "https://github.com/QuokeCola/margin",
"author": {
"name": "QuokeCola",
"email": "43491767+QuokeCola@users.noreply.github.com"
},
"private": true,
"type": "module",
"main": "electron/main.mjs",
"scripts": {
"dev": "node server.mjs",
"build": "vite build",
"start": "node server.mjs --production",
"test": "node --test",
"app": "vite build && electron .",
"dist:linux": "vite build && electron-builder --linux",
"dist:win": "vite build && electron-builder --win",
"dist:mac": "vite build && electron-builder --mac"
},
"dependencies": {
"@anthropic-ai/sdk": "^1.6.0",
"dotenv": "^17.2.0",
"express": "^5.1.0",
"openai": "^6.0.0",
"pdfjs-dist": "^6.5.438"
},
"devDependencies": {
"d3-drag": "^3.0.1",
"d3-force": "^3.0.1",
"d3-selection": "^3.0.1",
"d3-zoom": "^3.0.1",
"dompurify": "^3.2.0",
"electron": "^45.2.3",
"electron-builder": "^26.18.0",
"katex": "^0.19.1",
"marked": "^16.3.0",
"vite": "^7.1.0"
},
"build": {
"appId": "io.github.quokecola.margin",
"productName": "Margin",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**",
"server.mjs",
"lib/**",
"src/layout.js",
"electron/**",
"assets/margin-512.png",
"package.json",
"extension/**",
"!node_modules/pdfjs-dist/{build,types,web,image_decoders,cmaps,iccs}/**",
"!node_modules/pdfjs-dist/legacy/{web,image_decoders}/**",
"!node_modules/pdfjs-dist/legacy/build/*.{map,min.mjs,d.mts}",
"!node_modules/pdfjs-dist/legacy/build/pdf.{renderer,sandbox}.mjs",
"!node_modules/pdfjs-dist/webpack.mjs"
],
"electronLanguages": [
"en-US",
"en-GB"
],
"publish": null,
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"category": "Education",
"synopsis": "Study research papers with an AI tutor that cites pages and equations",
"syncDesktopName": true
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": false
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
],
"category": "public.app-category.education",
"identity": null
},
"afterPack": "build/adhoc-sign.cjs",
"asarUnpack": [
"extension/**"
]
},
"desktopName": "margin.desktop"
}