Type object
File match now.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/now/latest.json
Source https://www.schemastore.org/now.json

Validate with Lintel

npx @lintel/lintel check
Type: object

ZEIT Now project configuration file

Properties

name string

name for the deployment

maxLength=52
version enum

the Now Platform version that the deployment should use and is known to work with

Default: 2
Values: 1 2
alias alias[] | alias
scope string

an ID or slug for teams, or an email address, username, or ID for users

env Record<string, string>

environment keys and values

build object
1 nested properties
env Record<string, string>

environment keys and values

builds object[]

a list of build descriptions whose src references valid source files

routes object[]

a list of route definitions

regions string[]

the deployment regions of the Serverless Functions that get created as a result of the build steps

public boolean

When set to true, both the source view and logs view will be publicly accessible (when the user is authenticated with ZEIT).

github object

Git integration options

4 nested properties
enabled boolean

When set to false, Now for GitHub will not deploy the given project regardless of the GitHub app being installed.

Default: true
autoAlias boolean

When set to false, Now for GitHub will not apply the alias upon merge.

Default: true
silent boolean

When set to true, Now for GitHub will stop commenting on pull requests and commits.

Default: false
autoJobCancelation boolean

When set to false, Now for GitHub will always build pushes in sequence without cancelling a build for the most recent commit.

Default: true

Definitions

alias string

domain names (optionally including subdomains) added to the account, or a string for a suffixed URL using .now.sh or a Custom Deployment Suffix

env Record<string, string>

environment keys and values