26 lines
1.3 KiB
JSON
26 lines
1.3 KiB
JSON
{
|
|||
|
|
"name": "business-suite",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"description": "Generic LaTeX template suite: document, letter and presentation, configured by a corporate identity",
|
||
|
|
"scripts": {
|
||
|
|
"build": "npm run build:example && npm run build:markdown",
|
||
|
|
"build:example": "npm run build:file -- examples/sample.tex examples/logo-example.tex examples/letter.tex examples/presentation.tex",
|
||
|
|
"build:markdown": "npm run md2pdf -- --identity nordwind examples/report.md",
|
||
|
|
"build:file": "TEXINPUTS=\".//:$PWD/texmf//:\" latexmk -cd -emulate-aux-dir -auxdir=build -outdir=. -xelatex -synctex=1 -interaction=nonstopmode -file-line-error",
|
||
|
|
"preview": "pdftoppm -png -r 110 examples/sample.pdf examples/build/sample-page",
|
||
|
|
"md2pdf": "python3 bin/md2pdf.py",
|
||
|
|
"test": "npm run test:origin && npm run test:identity && npm run test:layout && npm run test:md2pdf && npm run test:logs",
|
||
|
|
"test:origin": "python3 tests/origin.py",
|
||
|
|
"test:identity": "python3 tests/identity.py",
|
||
|
|
"test:layout": "python3 tests/layout.py",
|
||
|
|
"test:md2pdf": "python3 tests/md2pdf.py",
|
||
|
|
"test:logs": "python3 tests/logs.py",
|
||
|
|
"clean": "latexmk -C -cd examples/sample.tex && rm -rf examples/build tests/build"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "https://mrw.dev/templates/business-suite.git"
|
||
|
|
},
|
||
|
|
"author": "Marc Wäckerlin",
|
||
|
|
"license": "MIT"
|
||
|
|
}
|