-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.73 KB
/
Copy pathpackage.json
File metadata and controls
46 lines (46 loc) · 1.73 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
{
"name": "pdf-annotation-extractor",
"version": "1.0.0",
"private": true,
"packageManager": "pnpm@10.22.0",
"scripts": {
"dev": "next dev",
"build": "next build && { cp -f node_modules/pdfjs-dist/build/pdf.worker.min.mjs out/ 2>/dev/null || echo 'note: bundled pdfjs worker not found; out/ keeps the committed public/ copy'; }",
"start": "serve out -l 3000 --no-clipboard",
"test": "vitest run",
"lint": "eslint src/",
"postinstall": "cp node_modules/pdfjs-dist/build/pdf.worker.min.mjs public/",
"deploy:s3": "bash -c 'set -aeuo pipefail && source .env && : \"${S3_BUCKET:?set S3_BUCKET in .env}\" && [ -f out/index.html ] && aws s3 sync out/ \"s3://$S3_BUCKET/site\" --delete'",
"invalidate": "bash -c 'set -aeuo pipefail && source .env && : \"${CLOUDFRONT_DISTRIBUTION_ID:?set CLOUDFRONT_DISTRIBUTION_ID in .env}\" && aws cloudfront create-invalidation --distribution-id \"$CLOUDFRONT_DISTRIBUTION_ID\" --paths \"/*\"'",
"send-it": "pnpm build && pnpm deploy:s3 && pnpm invalidate"
},
"dependencies": {
"lucide-react": "^1.8.0",
"next": "^16.2.6",
"pdfjs-dist": "^5.6.205",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"serve": "^14.2.6"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@tailwindcss/postcss": "^4.2.4",
"@types/node": "^25.6.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"eslint": "^9.39.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"tailwindcss": "^4.2.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0",
"vitest": "^4.1.10"
},
"pnpm": {
"overrides": {
"postcss": "^8.5.10",
"brace-expansion@5": "^5.0.6",
"js-yaml": "^4.2.0"
}
}
}