How to overwrite Nixpack `npm ci` command to omit dev dependencies in a nodeJS project?

Hello, I would like to update and overwrite Nixpack install command from npm ci to npm ci --omit=dev, how can I do this?
No description
Solution:
with a nixpacks.toml file -
[phases.install]
cmds = ['npm ci --omit=dev']
[phases.install]
cmds = ['npm ci --omit=dev']
...
Jump to solution
4 Replies
Percy
Percy5mo ago
Project ID: 190f9aa2-c8b3-46dd-a046-6fe955ffb230
Hugo Tessera
Hugo TesseraOP5mo ago
190f9aa2-c8b3-46dd-a046-6fe955ffb230
Solution
Brody
Brody5mo ago
with a nixpacks.toml file -
[phases.install]
cmds = ['npm ci --omit=dev']
[phases.install]
cmds = ['npm ci --omit=dev']
Hugo Tessera
Hugo TesseraOP5mo ago
noted, thanks a lot i will try this thank you so much for the quick response as usual
Want results from more Discord servers?
Add your server