forked from whyboris/utilitarianism.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.8 KB
/
package.json
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
{
"name": "utilitarianism.net",
"version": "1.0.0",
"description": "Official repository for utilitarianism.net",
"keywords": [
"utilitarianism",
"utilitarian",
"hugo"
],
"author": "Boris Yakubchik",
"scripts": {
"start": "hugo serve",
"build": "just build",
"search": "pagefind --site public",
"fix-bib": "node scripts/fixbib.js",
"pdf-en": "cd pdf && website2pdf --marginTop 50px --marginBottom 50px --marginLeft 40px --marginRight 40px --display-header-footer --safe-title --output-dir ./temp -s http://localhost:1313/sitemap.xml && npm run move-pdf",
"pdf-es": "cd pdf && website2pdf --marginTop 50px --marginBottom 50px --marginLeft 40px --marginRight 40px --display-header-footer --safe-title --output-dir ./temp -s http://localhost:1314/sitemap.xml && npm run move-pdf",
"pdf-de": "cd pdf && website2pdf --marginTop 50px --marginBottom 50px --marginLeft 40px --marginRight 40px --display-header-footer --safe-title --output-dir ./temp -s http://localhost:1315/sitemap.xml && npm run move-pdf",
"book-pdf": "cd pdf && website2pdf --marginTop 40px --marginBottom 40px --marginLeft 30px --marginRight 30px --display-header-footer false --safe-title --format a5 --output-dir ./temp && npm run move-pdf && npm run merge-pdf",
"merge-pdf": "cd pdf && node build-book.js",
"move-pdf": "cd pdf && node move-pdf.js",
"kill-hugo": "kill-port 1313",
"public": "serve public",
"zip": "node build.js zip",
"prettier": "prettier --write ."
},
"devDependencies": {
"bestzip": "2.2.1",
"fdir": "6.3.0",
"kill-port": "2.0.1",
"markdown-link-extractor": "4.0.2",
"pagefind": "1.1.1",
"pdf-merger-js": "5.1.2",
"prettier": "3.3.3",
"prettier-plugin-go-template": "0.0.15",
"serve": "14.2.3",
"website2pdf": "0.0.16"
}
}