From bb7c410881ed80ecac3abcce8ddba6f62898b9f2 Mon Sep 17 00:00:00 2001 From: fraxken Date: Sun, 14 Jul 2024 23:27:47 +0200 Subject: [PATCH] chore: add command to generate PDF & ignore /pdf directory --- .gitignore | 2 ++ package.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c6bba59..05cdfe9 100644 --- a/.gitignore +++ b/.gitignore @@ -128,3 +128,5 @@ dist .yarn/build-state.yml .yarn/install-state.gz .pnp.* + +pdf/ \ No newline at end of file diff --git a/package.json b/package.json index d4ea999..94a73b9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "A Node.js Ebook by GENTILHOMME Thomas.", "type": "module", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "generate:pdf": "node scripts/generatePdf.js && node scripts/generatePdf.js --lang fr" }, "repository": { "type": "git",