UNPKG

@edbzn/nuxt

Version:

<img src="https://github.com/edbzn/nx-nuxt/blob/master/logo.png" alt="@edbzn/nuxt logo" width="500" />

72 lines (70 loc) 2.01 kB
{ "$schema": "http://json-schema.org/schema", "id": "NxNuxtApp", "title": "Create a Nuxt.js Application for Nx", "type": "object", "properties": { "name": { "description": "The name of the application.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the application?" }, "directory": { "description": "The directory of the new application.", "type": "string", "alias": "d" }, "linter": { "description": "The tool to use for running lint checks.", "type": "string", "enum": ["eslint", "none"], "default": "eslint" }, "skipFormat": { "description": "Skip formatting files", "type": "boolean", "default": false }, "skipWorkspaceJson": { "description": "Skip updating workspace.json with default schematic options based on values provided to this app (e.g. babel, style)", "type": "boolean", "default": false }, "unitTestRunner": { "type": "string", "enum": ["jest", "none"], "description": "Test runner to use for unit tests", "default": "jest" }, "e2eTestRunner": { "type": "string", "enum": ["cypress", "none"], "description": "Test runner to use for end to end (e2e) tests", "default": "cypress" }, "tags": { "type": "string", "description": "Add tags to the application (used for linting)", "alias": "t" }, "mode": { "type": "string", "enum": ["universal", "spa"], "description": "Nuxt rendering mode", "default": "universal", "x-prompt": "What mode would you like to use for the project?" }, "target": { "type": "string", "enum": ["server", "static"], "description": "Deployment target", "default": "server", "x-prompt": "What target would you like to use for the project?" } }, "required": [] }