public class NodeJsKBean
extends dev.jeka.core.tool.KBean
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
appDir |
java.lang.String |
buildCmd |
java.lang.String |
buildDir |
static java.lang.String |
CLEAN_ACTION
Represents the action identifier for cleaning the build directory of a Node.js project.
|
java.lang.String |
cmdLine |
boolean |
configureProject |
static java.lang.String |
DEFAULT_APP_JS_DIR
Holds the default directory name, "app-js", which is expected to contain
JavaScript application-specific files in the project structure.
|
java.lang.String |
targetResourceDir |
java.lang.String |
testCmd |
java.lang.String |
version |
| Constructor and Description |
|---|
NodeJsKBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
clean() |
JkNodeJsProject |
configureProject()
Configures the Node.js project by setting up the Node.js version,
project paths, build commands, and test commands.
|
void |
exec() |
JkNodeJsProject |
getNodeJsProject()
Retrieves the Node.js project associated with this configuration.
|
void |
info() |
protected void |
init() |
void |
pack() |
void |
test() |
public static final java.lang.String CLEAN_ACTION
public static final java.lang.String DEFAULT_APP_JS_DIR
public java.lang.String version
public java.lang.String cmdLine
public java.lang.String buildCmd
public java.lang.String testCmd
public java.lang.String appDir
public java.lang.String buildDir
public java.lang.String targetResourceDir
public boolean configureProject
protected void init()
init in class dev.jeka.core.tool.KBeanpublic void build()
public void test()
public void pack()
public void exec()
public void info()
public void clean()
public JkNodeJsProject configureProject()
public JkNodeJsProject getNodeJsProject()