dependency-check icon indicating copy to clipboard operation
dependency-check copied to clipboard

Support jspm?

Open unional opened this issue 8 years ago • 1 comments

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

unional avatar May 27 '16 18:05 unional

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.

blakeembrey avatar Jan 26 '17 17:01 blakeembrey