By splitting into dependencies and devDependencies it will reduce the packages installed when package install with --production argument ( or environment variable NODE_ENV=production declared ) which will install only packages declared in dependencies (for example: eslint & jest are probably devDependencies which are used only in testing/CI )
Currently only
devDependencies
is used to declare dependencies in package.json file at: https://github.com/MohGovIL/rn-contact-tracing/blob/25a39240d5d6106c314df9ef4ddbf10a8ac24b08/package.json#L38-L64By splitting into
dependencies
anddevDependencies
it will reduce the packages installed when package install with--production
argument ( or environment variableNODE_ENV=production
declared ) which will install only packages declared independencies
(for example:eslint
&jest
are probablydevDependencies
which are used only in testing/CI )