package-json-type
    Preparing search index...

    Interface IConfig

    A config object can be used to set configuration parameters used in package scripts that persist across upgrades. For instance, if a package had the following:

    {
    "config" : {
    "port" : "8080"
    }
    }

    and then had a start command that then referenced the npm_package_config_port environment variable, then the user could override that by doing npm config set foo:port 8001.

    Indexable

    • [key: string]: string