nx/packages/react/collection.json
Jack Hsu 0923dab318 feat(react): adds and updates React schematics with more options
- Added component schematic that adds to existing project.
    * Supports CSS-in-JS styles, functional components, etc.
- Lib and app schematics now support new style, funtional components options (same as component)
2019-05-22 17:06:46 -04:00

34 lines
909 B
JSON

{
"name": "nx/react",
"version": "0.1",
"extends": ["@nrwl/workspace"],
"schematics": {
"ng-add": {
"factory": "./src/schematics/ng-add/ng-add",
"schema": "./src/schematics/ng-add/schema.json",
"description": "Add @nrwl/react to a project",
"hidden": true
},
"application": {
"factory": "./src/schematics/application/application",
"schema": "./src/schematics/application/schema.json",
"aliases": ["app"],
"description": "Create an application"
},
"library": {
"factory": "./src/schematics/library/library",
"schema": "./src/schematics/library/schema.json",
"aliases": ["lib"],
"description": "Create a library"
},
"component": {
"factory": "./src/schematics/component/component",
"schema": "./src/schematics/component/schema.json",
"description": "Create a component"
}
}
}