web: build API during npm build

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-09 15:35:35 +02:00
parent 57f8b108c4
commit a6c214e8fa

View file

@ -5,7 +5,7 @@
"license": "GNU GPLv3",
"scripts": {
"extract": "lingui extract",
"build": "lingui compile && rollup -c ./rollup.config.js",
"build": "cd api && npx tsc && cd .. && lingui compile && rollup -c",
"watch": "lingui compile && rollup -c -w",
"lint": "eslint . --max-warnings 0",
"lit-analyse": "lit-analyzer src"