Fix: order of commands in npm run init

ELI should be downloaded before generate, because it depends on that
file. After clearing the generated assets directory, npm run init failed,
this commit fixes that.
This commit is contained in:
Midgard 2024-12-18 01:41:40 +01:00
parent 6cb16877e8
commit 375913492c
Signed by untrusted user: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -77,7 +77,7 @@
}
},
"scripts": {
"init": "npm ci && npm run prep:layeroverview && npm run generate && npm run download:editor-layer-index && npm run generate:layouts && npm run clean",
"init": "npm ci && npm run prep:layeroverview && npm run download:editor-layer-index && npm run generate && npm run generate:layouts && npm run clean",
"start": "npm run generate:layeroverview && npm run strt",
"strt": "vite --host | sed 's/localhost:/127.0.0.1:/g'",
"build": "./scripts/build.sh",