/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/schematics/angular/service-worker/schema.json
23 строки
1 KB
Alan Agius
docs: enhance descriptions for schematics options
15 янв 2025, 19:31
15 янв 2025, 19:31
8ba6b28
Код
Авторство
О чём код?
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "SchematicsAngularServiceWorker", "title": "Angular Service Worker Options Schema", "type": "object", "additionalProperties": false, "description": "Adds a service worker to your project. Service workers enable your application to work offline or on low-quality networks by caching assets and intercepting network requests. This schematic configures your project to use a service worker.", "properties": { "project": { "type": "string", "description": "The name of the project to add the service worker to. 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" } }, "required": ["project"] }