@jsverse/transloco
Version:
The internationalization (i18n) library for Angular
60 lines (59 loc) • 1.89 kB
JSON
{
"extends": ["@schematics/angular"],
"$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"ng-add": {
"aliases": ["init"],
"factory": "./ng-add/index",
"schema": "./ng-add/schema.json",
"description": "Add transloco configuration for root module."
},
"component": {
"aliases": ["c"],
"factory": "./component/index",
"schema": "../../../../@schematics/angular/component/schema.json",
"description": "Add component with translation."
},
"migrate": {
"aliases": ["m"],
"factory": "./migrate/index",
"schema": "./migrate/schema.json",
"description": "Run a migration script from @ngx-translate."
},
"scope": {
"aliases": ["s"],
"factory": "./scope/index",
"schema": "./scope/schema.json",
"description": "Add transloco scope."
},
"upgrade": {
"aliases": ["up"],
"factory": "./upgrade/index",
"schema": "./upgrade/schema.json",
"description": "Run an upgrade script."
},
"keys-manager": {
"aliases": ["km"],
"factory": "./keys-manager/index",
"schema": "./keys-manager/schema.json",
"description": "Add Transloco Keys Manager plugin to your project."
},
"join": {
"aliases": ["build"],
"factory": "./join/index",
"schema": "./join/schema.json",
"description": "Join the translation files into one."
},
"split": {
"aliases": ["sp"],
"factory": "./split/index",
"schema": "./split/schema.json",
"description": "split the translated files over the project's translation files."
},
"ng-migrate": {
"factory": "./ng-migrate/index",
"schema": "./ng-migrate/schema.json",
"description": "split the translated files over the project's translation files."
}
}
}