dependency-check
dependency-check copied to clipboard
Support jspm?
Is it possible for dependency-check
to support jspm
?
// package.json
{
"jspm": {
"dependencies": {
"any-promise": "npm:any-promise@^1.3.0",
"lodash": "npm:lodash@^4.13.1"
},
}
dependency-check . --unused --no-dev && dependency-check . --missing --no-dev
fails with:
Success! All dependencies in package.json are used in the code
Fail! Dependencies not listed in package.json: any-promise, lodash
dependency-check
will need to adopt a plugin-like approach to make this work. Some way where we can add modules that list dependencies, and modules that parse out require
calls.