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 committed by Pieter Vander Vennet
parent 90626c632a
commit 33efe4f2c2

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",