nx/packages/react/collection.json
2020-04-27 18:47:23 +02:00

71 lines
2.2 KiB
JSON

{
"name": "Nx React",
"version": "0.1",
"extends": ["@nrwl/workspace"],
"schematics": {
"init": {
"factory": "./src/schematics/init/init",
"schema": "./src/schematics/init/schema.json",
"description": "Initialize the @nrwl/react plugin",
"aliases": ["ng-add"],
"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",
"aliases": "c"
},
"redux": {
"factory": "./src/schematics/redux/redux",
"schema": "./src/schematics/redux/schema.json",
"description": "Create a redux slice for a project",
"aliases": ["slice"]
},
"storybook-configuration": {
"factory": "./src/schematics/storybook-configuration/configuration",
"schema": "./src/schematics/storybook-configuration/schema.json",
"description": "Set up storybook for a react library",
"hidden": false
},
"component-story": {
"factory": "./src/schematics/component-story/component-story",
"schema": "./src/schematics/component-story/schema.json",
"description": "Generate storybook story for a react component",
"hidden": false
},
"stories": {
"factory": "./src/schematics/stories/stories",
"schema": "./src/schematics/stories/schema.json",
"description": "Create stories/specs for all components declared in a library",
"hidden": false
},
"component-cypress-spec": {
"factory": "./src/schematics/component-cypress-spec/component-cypress-spec",
"schema": "./src/schematics/component-cypress-spec/schema.json",
"description": "Create a cypress spec for a ui component that has a story",
"hidden": false
}
}
}