API reference / @backpack/cli / ProjectOptions
Interface: ProjectOptions
Properties
appName
ts
appName: string;
Name of the app.
components
ts
components: object;
Components to include.
Name | Type |
---|---|
appConfig | RequiredIfEnabled <{ enabled : boolean ; }> |
appSecrets | RequiredIfEnabled <{ awsProfileDev? : string ; createDevSecret : boolean ; enabled : boolean ; }> |
datadogMonitoring | RequiredIfEnabled <{ enabled : boolean ; }> |
dynamoDb | RequiredIfEnabled <{ enabled : boolean ; tableName : string ; }> |
restApi | RequiredIfEnabled <{ enabled : boolean ; }> |
environments
ts
environments: object;
Environment config.
Name | Type |
---|---|
awsAccountIds | Record <"dev" | "stg" | "prd" , string | undefined > |
onlyDev | boolean |
gitInit
ts
gitInit: boolean;
Whether to initialize Git.
npmInstall
ts
npmInstall: boolean;
Whether to run NPM install.
targetDirectory
ts
targetDirectory: string;
Where to create the project.
teamName?
ts
optional teamName: string;
Name of the team.