meteor-scope
This CLI can be run inside root folder of a package or meteor app. It will generate the globals based on package dependencies.
It can also write/maintain the globals in the .jshintrc
and .eslintrc
file, by overwriting the globals
/predef
settings.
This is useful since it will enable the jshint tool to warn if an app or package is missing a dependency.
$ meteor-scope --help Usage: meteor-scope [options] Options: -h, --help output usage information -V, --version output the version number -u, --update Update existing configs only -j, --jshintrc Save .jshintrc -e, --eslintrc Save .eslintrc -p, --print Print config -d, --debug Debug -y, --yes Say yes to all updates -p, --package_dirs <folders> Package dir to search
Examples
# If wanting to update all packages in current folder and use all packages in # local package search $ meteor-scope --package_dirs="./" -y