@angular/pwa
Version:
PWA schematics for Angular
27 lines (26 loc) • 1.3 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsAngularPWA",
"title": "Angular PWA Options Schema",
"type": "object",
"description": "Transforms your Angular application into a Progressive Web App (PWA). PWAs provide a native app-like experience, allowing users to install your app on their devices and access it offline. This schematic configures your project for PWA functionality, adding a service worker, a web app manifest, and other necessary features.",
"properties": {
"project": {
"type": "string",
"description": "The name of the project to transform into a PWA. If not specified, the CLI will determine the project from the current directory.",
"$default": {
"$source": "projectName"
}
},
"target": {
"type": "string",
"description": "The build target to apply the service worker to. This is typically `build`, indicating that the service worker should be generated during the standard build process.",
"default": "build"
},
"title": {
"type": "string",
"description": "The title of the application. This will be used in the web app manifest, which is a JSON file that provides metadata about your PWA (e.g., name, icons, display options)."
}
},
"required": []
}