UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

37 lines (36 loc) 870 B
{ "$schema": "https://json-schema.org/schema", "$id": "NxTypescriptLibrary", "cli": "nx", "title": "Convert a TSC library to SWC", "description": "Convert a TSC library to SWC.", "type": "object", "examples": [ { "command": "nx g swc mylib", "description": "Convert `libs/myapp/mylib` to SWC." } ], "properties": { "project": { "type": "string", "description": "Library name.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What name would you like to use for the library?", "pattern": "^[a-zA-Z].*$" }, "targets": { "type": "array", "description": "List of targets to convert.", "items": { "type": "string", "description": "Target to convert." }, "default": ["build"] } }, "required": ["project"] }