feat: integrate PDF Tools with toolbox portal

This commit is contained in:
2026-07-20 18:13:43 +02:00
parent bff9e059d8
commit d40a288a4e
23 changed files with 879 additions and 354 deletions

View File

@@ -2,9 +2,12 @@
"name": "pdf-tools",
"version": "0.3.4",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
"scripts": {
"predev": "npm run manifest:generate",
"dev": "vite",
"prebuild": "npm run manifest:generate",
"build": "vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
@@ -12,10 +15,16 @@
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run --environment jsdom",
"test:toolbox": "toolbox-check dist",
"test:watch": "vitest --environment jsdom",
"check": "npm run typecheck && npm run lint && npm run test && npm run build"
"manifest:generate": "node scripts/generate-toolbox-manifest.mjs",
"manifest:check": "node scripts/generate-toolbox-manifest.mjs --check",
"release:artifact": "npm run check && node scripts/package-release.mjs",
"check": "npm run manifest:check && npm run typecheck && npm run lint && npm run test && npm run build && npm run test:toolbox"
},
"dependencies": {
"@add-ideas/toolbox-contract": "^0.1.0",
"@add-ideas/toolbox-shell-react": "^0.1.0",
"fflate": "^0.8.3",
"pdf-lib": "^1.17.1",
"pdfjs-dist": "^5.7.284",
@@ -23,6 +32,7 @@
"react-dom": "^19.2.6"
},
"devDependencies": {
"@add-ideas/toolbox-testkit": "^0.1.0",
"@eslint/js": "^10.0.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",