Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/project-1-0-0-beta3-json/latest.json
Source https://www.schemastore.org/project-1.0.0-beta3.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

authors string[]
uniqueItems=true
bundleExclude string | array

List of files to exclude from publish output (kpm bundle).

Default: ""
code string | array

Glob pattern to specify all the code files that needs to be compiled. (data type: string or array with glob pattern(s)). Example: [ "Folder1*.cs", "Folder2*.cs" ]

Default: "**\*.cs"
commands Record<string, string>
compilationOptions object
5 nested properties
define string[]
uniqueItems=true
warningsAsErrors boolean
Default: false
allowUnsafe boolean
Default: false
optimize boolean
Default: false
languageVersion string
Values: "csharp1" "csharp2" "csharp3" "csharp4" "csharp5" "csharp6" "experimental"
configurations Record<string, object>

Configurations are named groups of compilation settings. There are 2 defaults built into the runtime namely 'Debug' and 'Release'.

dependencies Record<string, string | object>
description string

The description of the application

exclude string | array

Glob pattern to indicate all the code files to be excluded from compilation. (data type: string or array with glob pattern(s)).

Default:
[
  "bin/**/*.*",
  "obj/**/*.*"
]
frameworks Record<string, object>
preprocess string

Glob pattern to indicate all the code files to be preprocessed. (data type: string with glob pattern).

Default: "Compiler\Preprocess\**\*.cs"
resources string | array

Glob pattern to indicate all the files that need to be compiled as resources.

Default: "Compiler\Resources\**\*.cs"
scripts object

Scripts to execute during the various stages.

7 nested properties
prepack string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version

postpack string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version

prebundle string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version

postbundle string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version

prerestore string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version

postrestore string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version

prepare string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version

shared string | array

Glob pattern to specify the code files to share with dependent projects. Example: [ "Folder1*.cs", "Folder2*.cs" ]

Default: "Compiler\Shared\**\*.cs"
version string

The version of the application. Example: 1.2.0.0

webroot string

Specifying the webroot property in the project.json file specifies the web server root (aka public folder). In visual studio, this folder will be used to root IIS. Static files should be put in here.

Definitions

compilationOptions object
define string[]
uniqueItems=true
warningsAsErrors boolean
Default: false
allowUnsafe boolean
Default: false
optimize boolean
Default: false
languageVersion string
Values: "csharp1" "csharp2" "csharp3" "csharp4" "csharp5" "csharp6" "experimental"
configType object
dependencies Record<string, string | object>
compilationOptions object
5 nested properties
define string[]
uniqueItems=true
warningsAsErrors boolean
Default: false
allowUnsafe boolean
Default: false
optimize boolean
Default: false
languageVersion string
Values: "csharp1" "csharp2" "csharp3" "csharp4" "csharp5" "csharp6" "experimental"
frameworkAssemblies Record<string, string | object>
dependencies Record<string, string | object>
script string | array

A command line script or scripts.

Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version