5.0.0 • Published 8 months ago

@mapbox/check-file-dependencies v5.0.0

Weekly downloads
1,017
License
ISC
Repository
github
Last release
8 months ago

Check File Dependencies

Takes a file path and checks to see if the modules it requires match the package.json

Usage

var checkFileDependencies = require('@mapbox/check-file-dependencies');

checkFileDependencies(path.join(__dirname, 'path', 'to', 'file.js'), function(err) {
  if (err) console.log(err.message);
  if (err) process.exit(1);
})

Or as a CLI

check-file-dependencies ./path/to/file.js

Contributing

  • Open a PR
    • Include changes in Changelog.md
  • Merge PR
  • Locally switch to master
    • npm version [major, minor, patch]
    • git push origin master --tags
    • npm publish
5.0.0

8 months ago

4.0.0

1 year ago

4.0.0-alpha.0

2 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.0

6 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago