Interface PackageManagerCommandConfig

    • Method Detail

      • install

        @ConfigDocDefault("install")
        Optional<String> install()
        Custom command for installing all packages. e.g. «ci --cache $CACHE_DIR/.npm --prefer-offline»
      • installEnv

        Map<String,​String> installEnv()
        Environment variables for install command execution.
      • ci

        @ConfigDocDefault("Detected based on package manager")
        Optional<String> ci()
        Custom command for installing all the packages without generating a lockfile (frozen lockfile) and failing if an update is needed (useful in CI).
      • ciEnv

        Map<String,​String> ciEnv()
        Environment variables for ci command execution.
      • build

        @WithDefault("run build")
        Optional<String> build()
        Custom command for building the application.
      • buildEnv

        Map<String,​String> buildEnv()
        Environment variables for build command execution.
      • test

        @ConfigDocDefault("run test")
        Optional<String> test()
        Custom command for running tests for the application.
      • testEnv

        @ConfigDocDefault("CI=true")
        Map<String,​String> testEnv()
        Environment variables for test command execution.
      • dev

        @ConfigDocDefault("framework detection with fallback to \'start\'")
        Optional<String> dev()
        Custom command for starting the application in development mode.
      • devEnv

        Map<String,​String> devEnv()
        Environment variables for development command execution.