Sha256: e1b80448ae3e2f57d2e105668c03fb92e0218cf4ae2e1e472a456569135d653f

Contents?: true

Size: 344 Bytes

Versions: 9

Compression:

Stored size: 344 Bytes

Contents

module EY
  module Serverside
    module DependencyManager
      class Npm < Base
        def detected?
          paths.package_json.exist?
        end

        def install
          shell.status "Installing npm packages (package.json detected)"
          run "cd #{paths.active_release} && npm install"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
engineyard-serverside-2.2.0.pre2 lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.2.0.pre lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.1.4 lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.1.3 lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.1.2 lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.1.1 lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.1.0 lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.1.0.rc1 lib/engineyard-serverside/dependency_manager/npm.rb
engineyard-serverside-2.1.0.pre lib/engineyard-serverside/dependency_manager/npm.rb