nox v0.3.2 Nox.Npm View Source
NPM wrapper
Link to this section Summary
Types
Option values specific to the compile
function
Options used by the compile
function
Option values used by the install
function
Options used by the install
function
Functions
Clean up application
Launch npm install if node_modules
is stale
Returns full path to npm executable
Launch npm install
Install global
Return NODE_PATH for given project
Returns true if installed version matches required one
Returns real version given a dir
Link to this section Types
Option values specific to the compile
function
Options used by the compile
function
Option values used by the install
function
Options used by the install
function
Link to this section Functions
Clean up application
Launch npm install if node_modules
is stale
Can be forced with force
opt
Returns full path to npm executable
Launch npm install
install(Nox.Env.t(), Path.t(), install_opts() | Path.t(), install_opts()) :: {:ok, warnings :: [String.t()]} | {:error, {code :: number(), warnings :: [String.t()], errors :: [String.t()]}}
Install global
Return NODE_PATH for given project
Returns true if installed version matches required one
Returns real version given a dir