mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 18:47:30 +00:00
87 lines
2.3 KiB
JSON
87 lines
2.3 KiB
JSON
{
|
|
"author": "Microsoft",
|
|
"classifications": [
|
|
"Web",
|
|
"MVC",
|
|
"SPA"
|
|
],
|
|
"groupIdentity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.Angular",
|
|
"identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.Angular.CSharp",
|
|
"name": "ASP.NET Core with Angular",
|
|
"preferNameDirectory": true,
|
|
"primaryOutputs": [
|
|
{
|
|
"path": "AngularSpa.csproj"
|
|
}
|
|
],
|
|
"shortName": "angular",
|
|
"sourceName": "AngularSpa",
|
|
"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"
|
|
}
|
|
},
|
|
"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\""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |