Only list production dependencies in npm install
This commit is contained in:
parent
aa5b6fa603
commit
d6d5d9ebc4
1 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,10 @@ impl<T: AsRef<Path>, C: CommandRunner> Symbol for Install<'_, T, C> {
|
|||
"sh",
|
||||
args![
|
||||
"-c",
|
||||
format!("cd '{}' && npm ls", self.target.as_ref().to_str().unwrap()),
|
||||
format!(
|
||||
"cd '{}' && npm ls --prod",
|
||||
self.target.as_ref().to_str().unwrap()
|
||||
),
|
||||
],
|
||||
)
|
||||
.await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue