0.1.0 • Published 9 years ago

meteor-scope v0.1.0

Weekly downloads
31
License
-
Repository
github
Last release
9 years ago

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 (overwrites existing globals)
    -e, --eslintrc                Save .eslintrc (overwrites existing globals)
    -p, --print                   Print config
    -d, --debug                   Debug
    -y, --yes                     Say yes to all updates
    -p, --package_dirs <folders>  Package dir to search for local packages (sep by ":")

Examples

# If wanting to update all packages in current folder and use all packages in
# local package search
$ meteor-scope --package_dirs="./" -y