Slide 79
Slide 79 text
{
"name": "my-package",
"version": "1.0.0",
"schematics": "./collection.json"
}
{
"name": "my-package",
"schematics": {
"ng-add": {
"factory": "./ng-add/index.js”,
"schema": "ng-add/schema.json",
"description": " ..."
},
"ng-new": {
"factory": "./ng-new/index.js",
"schema": "./ng-new/schema.json",
"description": " ..."
}
}
}
package.json collection.json