Class: Bootstrap
Workload for defining bootstrap an npm script to run when rolling out a fresh application.
Example
ts
import { Bootstrap } from "@monolayer/sdk";
const bootstrap = new Bootstrap("bootstrap", {
script: "db:create",
});
export default bootstrap;
Extends
Constructors
new Bootstrap()
ts
new Bootstrap(id, options): Bootstrap
Parameters
Parameter | Type | Description |
---|---|---|
|
| Unique ID |
|
| ‐ |
Returns
Overrides
Properties
Property | Modifier | Type | Description |
---|---|---|---|
id | readonly | string | Unique ID |
script | public | string | - |