NPM Build Utilities @ 0.1.3
    Preparing search index...

    Configuring the Library

    If no config CLI option is passed, the library looks for a configuration file at the following locations, in order:

    1. .scripts/build.config.js
    2. build-utils.config.js

    The configuration file should export a Config object.

    If not found or what's found is incomplete, the CLI will prompt for input and, if applicable, create a config file (or encourage the user to complete the current one). Default values for the created config are pulled from the package.json file (some props like name, etc. and the config object).

    To use a non-standard path for the config file, you must pass the config path manually.

    build-utils --config path/to/build.config.js
    
    import {
    bin,

    Project,
    parseParamsCLI,
    } from '@maddimathon/build-utilities';

    const params = parseParamsCLI( { config: 'path/to/build.config.js' } );

    const project = new Project( await bin.getConfig( params ), params );

    await project.run( 'compile' );

    See also Using the Library > Javascript.