142 lines
4.4 KiB
JSON
142 lines
4.4 KiB
JSON
{
|
|
"author": "Microsoft",
|
|
"classifications": [
|
|
"Web",
|
|
"MVC",
|
|
"SPA"
|
|
],
|
|
"groupIdentity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.React",
|
|
"identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.React.CSharp",
|
|
"name": "ASP.NET Core with React.js",
|
|
"preferNameDirectory": true,
|
|
"primaryOutputs": [
|
|
{
|
|
"path": "ReactSpa.csproj"
|
|
}
|
|
],
|
|
"shortName": "react",
|
|
"sourceName": "ReactSpa",
|
|
"sources": [
|
|
{
|
|
"source": "./",
|
|
"target": "./",
|
|
"exclude": [
|
|
".template.config/**"
|
|
]
|
|
}
|
|
],
|
|
"symbols": {
|
|
"TargetFrameworkOverride": {
|
|
"type": "parameter",
|
|
"description": "Overrides the target framework",
|
|
"replaces": "TargetFrameworkOverride",
|
|
"datatype": "string",
|
|
"defaultValue": ""
|
|
},
|
|
"Framework": {
|
|
"type": "parameter",
|
|
"description": "The target framework for the project.",
|
|
"datatype": "choice",
|
|
"choices": [
|
|
{
|
|
"choice": "netcoreapp2.0",
|
|
"description": "Target netcoreapp2.0"
|
|
}
|
|
],
|
|
"replaces": "netcoreapp2.0",
|
|
"defaultValue": "netcoreapp2.0"
|
|
},
|
|
"HostIdentifier": {
|
|
"type": "bind",
|
|
"binding": "HostIdentifier"
|
|
},
|
|
"skipRestore": {
|
|
"type": "parameter",
|
|
"datatype": "bool",
|
|
"description": "If specified, skips the automatic restore of the project on create.",
|
|
"defaultValue": "false"
|
|
},
|
|
"MicrosoftAspNetCoreAllPackageVersion": {
|
|
"type": "generated",
|
|
"description": "The package version for Microsoft.AspNetCore.All",
|
|
"generator": "constant",
|
|
"parameters": {
|
|
"value": "${MicrosoftAspNetCoreAllPackageVersion}"
|
|
},
|
|
"replaces": "$(MicrosoftAspNetCoreAllPackageVersion)"
|
|
},
|
|
"MicrosoftAspNetCorePackageVersion": {
|
|
"type": "generated",
|
|
"description": "The package version for Microsoft.AspNetCore",
|
|
"generator": "constant",
|
|
"parameters": {
|
|
"value": "${MicrosoftAspNetCorePackageVersion}"
|
|
},
|
|
"replaces": "$(MicrosoftAspNetCorePackageVersion)"
|
|
},
|
|
"MicrosoftAspNetCoreStaticFilesPackageVersion": {
|
|
"type": "generated",
|
|
"description": "The package version for Microsoft.AspNetCore.StaticFiles",
|
|
"generator": "constant",
|
|
"parameters": {
|
|
"value": "${MicrosoftAspNetCoreStaticFilesPackageVersion}"
|
|
},
|
|
"replaces": "$(MicrosoftAspNetCoreStaticFilesPackageVersion)"
|
|
},
|
|
"MicrosoftAspNetCoreSpaServicesPackageVersion": {
|
|
"type": "generated",
|
|
"description": "The package version for Microsoft.AspNetCore.SpaServices",
|
|
"generator": "constant",
|
|
"parameters": {
|
|
"value": "${MicrosoftAspNetCoreSpaServicesPackageVersion}"
|
|
},
|
|
"replaces": "$(MicrosoftAspNetCoreSpaServicesPackageVersion)"
|
|
},
|
|
"MicrosoftVisualStudioWebCodeGenerationToolsPackageVersion": {
|
|
"type": "generated",
|
|
"description": "The package version for Microsoft.VisualStudio.Web.CodeGeneration.Tools",
|
|
"generator": "constant",
|
|
"parameters": {
|
|
"value": "${MicrosoftVisualStudioWebCodeGenerationToolsPackageVersion}"
|
|
},
|
|
"replaces": "$(MicrosoftVisualStudioWebCodeGenerationToolsPackageVersion)"
|
|
},
|
|
"MicrosoftAspNetCoreMvcPackageVersion": {
|
|
"type": "generated",
|
|
"description": "The package version for Microsoft.AspNetCore.Mvc",
|
|
"generator": "constant",
|
|
"parameters": {
|
|
"value": "${MicrosoftAspNetCoreMvcPackageVersion}"
|
|
},
|
|
"replaces": "$(MicrosoftAspNetCoreMvcPackageVersion)"
|
|
}
|
|
},
|
|
"tags": {
|
|
"language": "C#",
|
|
"type": "project"
|
|
},
|
|
"postActions": [
|
|
{
|
|
"condition": "(!skipRestore)",
|
|
"description": "Restore NuGet packages required by this project.",
|
|
"manualInstructions": [
|
|
{
|
|
"text": "Run 'dotnet restore'"
|
|
}
|
|
],
|
|
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
|
|
"continueOnError": true
|
|
},
|
|
{
|
|
"condition": "(HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\")",
|
|
"actionId": "AC1156F7-BB77-4DB8-B28F-24EEBCCA1E5C",
|
|
"description": "\n\n-------------------------------------------------------------------\nIMPORTANT: Before running this project on the command line,\n you must restore NPM packages by running \"npm install\"\n-------------------------------------------------------------------\n",
|
|
"manualInstructions": [
|
|
{
|
|
"text": "Run \"npm install\""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|