Closed romanrostislavovich closed 6 years ago
This purpose with new property actual for gem
and composer
package managers too
So, we need to return only dependencies
, which needs for correct works of the app. Please, check the getDeps
method for all managers
We don't need devDependencies. They are used for listing, building and testing. So, published npm package can be executed without them.
NPM Package dependencies have
devDependencies
anddependencies
, e.g.:This is all dependencies for
eslint
v0.0.4. I suggest creating separate propertydev
for dependency package.New property
dev
isfalse
by default, but if package use only for development we settrue
.Result by parsing for
eslint 0.0.4
look like: