web: build API during npm build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
57f8b108c4
commit
a6c214e8fa
|
@ -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"
|
||||
|
|
Reference in a new issue