This article recommends using the flag --production=false to install devDependencies, however this flag is deprecated and gives a warning message in the DO deploy logs. The only way I've found how to do this that isn't deprecated is by doing an npm install --include=dev