45.7.0 • Published 2 days ago

@wixc3/engine-cli v45.7.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 days ago

@wixc3/engine-cli

This package provides a command line interface for the engine.

Installation

npm install @wixc3/engine-cli

Usage

This package exposes an engine command that can be used to start the engine.

npx engine --watch

This will start the engine in watch mode, and open the dev server for the engine dashboard.

Options

| Option                | Type            | Default Value | Description                                                                                       |
|-----------------------|-----------------|---------------|---------------------------------------------------------------------------------------------------|
| `buildTargets`        | `'node'`, `'web'`, `'both'` | `'both'`      | Target platforms for the build. Can be one of 'node', 'web', or 'both'.                          |
| `help`                | boolean         | `false`       | Displays help information if true.                                                               |
| `clean`               | boolean         | `true`        | Whether to clean the build directory before building.                                            |
| `watch`               | boolean         | `false`       | Rebuilds on file changes if true.                                                                |
| `dev`                 | boolean         | `watch` value | Enables development mode. Defaults to the value of `watch`.                                      |
| `run`                 | boolean         | `dev` value   | Runs the built application if true. Defaults to the value of `dev`.                              |
| `verbose`             | boolean         | `false`       | Enables verbose logging if true.                                                                 |
| `writeMetadataFiles`  | boolean         | `true`        | Whether to write metadata files during the build process.                                        |
| `runtimeArgs`         | JSON object     | `{}`          | Arbitrary arguments to pass at runtime, specified as a JSON string.                              |
| `feature`             | string          |               | Specifies a particular feature to build or run.                                                  |
| `config`              | string          |               | Path to a specific configuration file to use.                                                    |
| `publicPath`          | string          | `''` (empty string) | Base path for serving static files. Defaults to an empty string.                                 |
| `engineConfigFilePath`| string          |               | Path to the engine configuration file.                                                           |
| `publicConfigsRoute`  | string          | `'configs'`   | Route under which public configurations are served. Defaults to 'configs'.                       |
45.7.0

2 days ago

45.6.0

2 days ago

45.5.0

20 days ago

45.4.1

21 days ago

45.4.0

22 days ago

45.3.1

28 days ago

45.3.0

29 days ago

45.2.1

1 month ago

45.2.0

1 month ago

45.1.1

1 month ago

45.0.2

1 month ago

45.1.0

1 month ago

45.0.1

2 months ago

45.0.0

2 months ago

44.1.0

2 months ago

44.0.6

2 months ago

44.0.3

3 months ago

44.0.5

2 months ago

44.0.4

2 months ago

44.0.2

3 months ago

44.0.1

3 months ago

44.0.0

3 months ago

43.0.4

3 months ago

43.0.3

3 months ago

43.0.2

4 months ago

43.0.0-alpha.0

4 months ago

43.0.1

4 months ago

43.0.0

4 months ago

42.1.9

4 months ago

42.1.8

4 months ago

42.1.7

4 months ago

42.1.6

4 months ago

42.1.5

5 months ago

42.1.4

5 months ago

42.1.2

5 months ago

42.1.1

5 months ago

42.1.0

5 months ago

42.0.2

5 months ago

42.0.1

5 months ago

42.0.0

5 months ago

41.3.3

5 months ago

41.3.2

5 months ago

41.3.1

5 months ago

41.3.0

5 months ago

41.2.0

5 months ago

41.1.0

6 months ago

41.0.1

6 months ago

41.0.0

6 months ago

40.1.0

6 months ago

41.0.0-alpha.0

6 months ago