All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sdorra.buildfrontend.PackageManager Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package com.github.sdorra.buildfrontend;

/**
 * Interface for a node package manager (yarn or npm).
 */
public interface PackageManager {

    /**
     * Install everything which is defined in the package.json file of the package manager.
     */
    void install();

    /**
     * Runs a script which is defined in the package.json.
     *
     * @param script name of the script
     */
    void run(String script);

    /**
     * Symlink a package folder during development.
     */
    void link();

    /**
     * Link another package to the current package.
     */
    void link(String pkg);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy