Npm
Helpers to run the npm tool.
Sample
1: 2: 3: 4: |
|
Nested types and modules
Type | Description |
InstallArgs |
Arguments for the Npm install command |
NpmCommand |
The list of supported Npm commands. |
NpmParams |
The Npm parameter type |
Functions and values
Function or value | Description |
Npm.defaultNpmParams
Signature: NpmParams
|
Npm default parameters |
Npm.exec command setParams
Signature: command:string -> setParams:(NpmParams -> NpmParams) -> unit
|
Run Parameters
|
Npm.execute npmParams command
Signature: npmParams:NpmParams -> command:NpmCommand -> unit
|
Runs the given process and returns the process result. |
Npm.install(setParams)
Signature: setParams:(NpmParams -> NpmParams) -> unit
|
Run Parameters
|
Npm.installForced(setParams)
Signature: setParams:(NpmParams -> NpmParams) -> unit
|
Run Parameters
|
Npm.npm(setParams)
Signature: setParams:(NpmParams -> NpmParams) -> NpmCommand -> unit
|
|
Npm.npmFileName
Signature: string
|
Default paths to Npm |
Npm.parse(_arg1)
Signature: _arg1:NpmCommand -> string
|
|
Npm.parseInstallArgs(_arg1)
Signature: _arg1:InstallArgs -> string
|
|
Npm.run command setParams
Signature: command:string -> setParams:(NpmParams -> NpmParams) -> unit
|
Run Parameters
|
Npm.runSilent command setParams
Signature: command:string -> setParams:(NpmParams -> NpmParams) -> unit
|
Run Parameters
|
Npm.runTest command setParams
Signature: command:string -> setParams:(NpmParams -> NpmParams) -> unit
|
Run Parameters
|
Npm.test(setParams)
Signature: setParams:(NpmParams -> NpmParams) -> unit
|
Run Parameters
|