now.config.json
The now.config.json file is the project configuration for a Fluent SDK application. It lives at the project root and defines the application scope, build settings, source directories, dependencies, and runtime policies. Every Fluent project requires this file.
Required Properties
scope
Scope of the application (example: 'x_myapp' or 'sn_myapp')
- Type:
string - Pattern:
^((x|sn)_[a-z0-9_]+|global)$ - Min length: 4
- Max length: 18
scopeId
Scope ID of the application (example: 'fc1b5713c3db3110d6489a038a40dd85')
- Type:
string - Pattern:
^([0-9a-f]{32}|global$) - Max length: 32
Properties
active
Is the application active
- Type:
boolean
appOutputDir
Location to output built application for packaging during fluent build command
- Type:
string - Default:
"dist/app"
applicationRuntimePolicy
Application Runtime Policy mode. Set to 'tracking' or 'enforcing' to enable policy records. Defaults to 'none' if not specified.
- Type:
"none"|"tracking"|"enforcing"
clientDir
Directory containing client files of the application, such as HTML and TypeScript files. Set to empty to disable the client build.
- Type:
string - Default:
"src/client"