Created
June 11, 2019 05:30
-
-
Save ricmello/e983db67ef5802b5f032cdf5161c805d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/schema", | |
"id": "my-schematics", | |
"type": "object", | |
"properties": { | |
"path": { | |
"description": "The path to create the module.", | |
"type": "string", | |
"format": "path", | |
"visible": false | |
}, | |
"project": { | |
"type": "string", | |
"description": "The name of the project.", | |
"$default": { | |
"$source": "projectName" | |
} | |
}, | |
"name": { | |
"type": "string", | |
"description": "Custom module name", | |
"$default": { | |
"$source": "argv", | |
"index": 0 | |
}, | |
"x-prompt": "What name would you like to use for the module?" | |
} | |
}, | |
"required": ["name"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment