schema.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema",
  3. "$id": "SchematicsAngularUniversalApp",
  4. "title": "Angular Universal App Options Schema",
  5. "type": "object",
  6. "additionalProperties": false,
  7. "description": "Pass this schematic to the \"run\" command to set up server-side rendering for an app.",
  8. "properties": {
  9. "project": {
  10. "type": "string",
  11. "description": "The name of the project.",
  12. "$default": {
  13. "$source": "projectName"
  14. }
  15. },
  16. "appId": {
  17. "type": "string",
  18. "format": "html-selector",
  19. "description": "The application identifier to use for transition.",
  20. "default": "serverApp",
  21. "x-deprecated": "This option is no longer used."
  22. },
  23. "main": {
  24. "type": "string",
  25. "format": "path",
  26. "description": "The name of the main entry-point file.",
  27. "default": "main.server.ts"
  28. },
  29. "rootModuleFileName": {
  30. "type": "string",
  31. "format": "path",
  32. "description": "The name of the root NgModule file.",
  33. "default": "app.module.server.ts"
  34. },
  35. "rootModuleClassName": {
  36. "type": "string",
  37. "description": "The name of the root NgModule class.",
  38. "default": "AppServerModule"
  39. },
  40. "skipInstall": {
  41. "description": "Do not install packages for dependencies.",
  42. "type": "boolean",
  43. "default": false
  44. }
  45. },
  46. "required": ["project"]
  47. }