UNPKG

@nxext/stencil

Version:

Nx plugin for stenciljs

89 lines (88 loc) 2.28 kB
{ "$schema": "http://json-schema.org/schema", "$id": "Stencil-Library", "title": "", "type": "object", "properties": { "directory": { "type": "string", "description": "A directory where the project is placed.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What directory would you like to use? (full path; e.g. libs/<my-lib-name>)", "alias": "d" }, "name": { "type": "string", "description": "A name of the project.", "alias": "n" }, "tags": { "type": "string", "description": "Add tags to the project (used for linting)", "alias": "t" }, "linter": { "description": "The tool to use for running lint checks.", "type": "string", "enum": ["eslint", "none"], "default": "eslint" }, "skipFormat": { "type": "boolean", "default": false }, "buildable": { "type": "boolean", "default": false }, "publishable": { "type": "boolean", "description": "Create a publishable library." }, "importPath": { "type": "string", "description": "The library name used to import it, like @myorg/my-awesome-lib" }, "e2eTestRunner": { "type": "string", "enum": ["puppeteer", "none"], "description": "Test runner to use for end to end (e2e) tests", "default": "puppeteer" }, "unitTestRunner": { "type": "string", "enum": ["jest", "none"], "description": "Test runner to use for unit tests.", "default": "jest" }, "component": { "type": "boolean", "description": "Generate a default component.", "default": true }, "style": { "description": "The file extension to be used for style files.", "type": "string", "default": "css", "alias": "s", "x-prompt": { "message": "Which stylesheet format would you like to use?", "type": "list", "items": [ { "value": "css", "label": "CSS" }, { "value": "scss", "label": "SASS(.scss) [ http://sass-lang.com ]" } ] } } }, "required": ["directory"] }