add pdf generation

This commit is contained in:
Pritimay Sarkar
2023-08-29 16:29:57 +05:30
parent cde2485a60
commit 3e01c94e46
5 changed files with 2509 additions and 1 deletions

5
.gitignore vendored
View File

@@ -27,4 +27,7 @@ yarn-error.log*
src/components/testData.json
public/world-110m.json
public/india-states.json
*.apk
*.apk
scripts/reports
scripts/data

BIN
logo_nobg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

2212
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -56,5 +56,9 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"csv-parser": "^3.0.0",
"html-pdf-node": "^1.0.8"
}
}

289
scripts/pdf.js Normal file

File diff suppressed because one or more lines are too long