Class NpmWrapper


  • public class NpmWrapper
    extends NodeWrapper
    Responsible for running npm commands.
    • Constructor Detail

    • Method Detail

      • install

        public boolean install()
        Run the npm install command.
        Returns:
        A boolean indicating whether the install command was executed successfully.
      • runScript

        public boolean runScript​(String script)
      • run

        public boolean run​(String script)
        Description copied from class: NodeWrapper
        Executes the specified script.
        Specified by:
        run in class NodeWrapper
        Parameters:
        script - The script to execute.
        Returns:
        A boolean indicating whether the script was executed successfully.