Internal
Internal
Current project config.
Current CLI params.
Instance used to log messages and debugging info.
Instance used to work with paths and files.
Readonly
Internal
argsA completed args object.
Protected
Readonly
Internal
configCurrent project config.
Protected
Readonly
Internal
consoleInstance used to log messages and debugging info.
Protected
Readonly
Internal
fsInstance used to work with paths and files.
Protected
Readonly
Internal
paramsCurrent CLI params.
Static
postInternal
Default configuration for working with PostCSS.
Internal
Default values for the args property.
Readonly
postCSS: PostCSSThis is the value of the Stage_Compiler.postCssConfig static accessor.
Readonly
sass: {Readonly
ts: {}Internal
Default TS config file.
Static
getInternal
Gets paths to tsconfig files according to the project configuration.
If none is found, a console prompt asks to write a default file.
Current stage being run.
Depth level for output to the console.
Whether to prompt (via console) to write a new tsconfig file if none are found.
Internal
Gets the value of the given tsconfig file.
Path to TS config json used to compile the project.
Depth level for this message.
Whether to throw an error if tsconfig is not found.
StageError If the tsconfig file doesn’t exist and errorIfNotFound is truthy.
Internal
Gets the value of the given tsconfig file.
Path to TS config json.
Depth level for this message.
Whether to throw an error if tsconfig is not found.
StageError If the tsconfig file doesn’t exist and errorIfNotFound is truthy.
Internal
Process css with the PostCSS npm package.
Css paths to process (from), and optionally where to output them (to).
Depth level for this message.
Internal
Compile scss using the sass npm package.
Scss input path.
Scss output path.
Depth level for this message.
Optional
sassOpts: SassOverrides for the configured sass options in Stage.Compiler.args.
Internal
Compile typescript using the typescript npm package.
Path to TS config json used to compile the project.
Depth level for this message.
Optional
errorIfNotFound: booleanWhether to throw error if the tsconfig file is not found.
0.2.0-alpha — Now has errorIfNotFound param for use with new Stage_Compiler.getTsConfig method.
To be used by AbstractStage and those that inherit from it.
Includes a variety of utilities for compiling files (like scss and typescript).
Since
0.1.0-alpha