-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.76 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 3.76 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
{
"name": "lastmilepdf",
"version": "0.8.0",
"description": "Standalone Electron app for viewing and editing PDF accessibility (tag) structure trees.",
"main": "main.js",
"author": "Benjamin Sloan",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/brsloan/lastmilepdf.git"
},
"bugs": {
"url": "https://github.com/brsloan/lastmilepdf/issues"
},
"homepage": "https://github.com/brsloan/lastmilepdf#readme",
"private": true,
"scripts": {
"start": "electron .",
"typecheck": "node scripts/typecheck.js",
"help:export": "node scripts/help-doc.js export",
"help:import": "node scripts/help-doc.js import",
"help:check": "node scripts/help-doc.js check",
"quickstart": "node scripts/quickstart-doc.js import && node scripts/quickstart-doc.js blocks build/quickstart-blocks.json && python scripts/make-quickstart-pdf.py build/quickstart-blocks.json assets/quickstart.pdf",
"quickstart:check": "node scripts/quickstart-doc.js check",
"test": "node scripts/contrast-check.js && node scripts/quickstart-doc.js check && node scripts/changelog-test.js && node scripts/table-seed-test.js && node scripts/agent-server-test.js && node scripts/smoke-test.js",
"test:contrast": "node scripts/contrast-check.js",
"build:worker": ".venv\\Scripts\\python.exe -m PyInstaller --onefile --noconsole --name tag_worker --distpath python-dist --workpath build/pyinstaller --specpath build --collect-all pikepdf python/tag_worker.py",
"build:worker:linux": ".venv/bin/python -m PyInstaller --onefile --noconsole --name tag_worker --distpath python-dist --workpath build/pyinstaller --specpath build --collect-all pikepdf python/tag_worker.py",
"dist:win": "npm run build:worker && electron-builder --win --publish never",
"dist:linux": "npm run build:worker:linux && electron-builder --linux --publish never"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.122.0",
"@modelcontextprotocol/sdk": "^1.30.0",
"electron-updater": "^6.8.9",
"pdfjs-dist": "^4.6.82",
"zod": "^4.5.4"
},
"devDependencies": {
"electron": "^31.0.0",
"electron-builder": "^26.15.3",
"typescript": "^7.0.2"
},
"build": {
"appId": "com.bensloan.lastmilepdf",
"productName": "LastMilePDF",
"directories": {
"output": "dist",
"buildResources": "build"
},
"publish": {
"provider": "github",
"owner": "brsloan",
"repo": "lastmilepdf"
},
"files": [
"main.js",
"preload.js",
"lib/**/*",
"CHANGELOG.md",
"assets/quickstart.pdf",
"renderer/**/*",
"!renderer/jsconfig.json",
"node_modules/**/*",
"!python/**",
"!python-dist/**",
"!.venv/**"
],
"win": {
"icon": "build/icon.ico",
"extraResources": [
{
"from": "python-dist/tag_worker.exe",
"to": "python/tag_worker.exe"
}
],
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
]
},
"nsis": {
"perMachine": false,
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "${productName}-${version}-portable.exe"
},
"linux": {
"icon": "build/icon.png",
"category": "Office",
"extraResources": [
{
"from": "python-dist/tag_worker",
"to": "python/tag_worker"
}
],
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
]
}
}
}