| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {
- "$schema": "http://json-schema.org/schema",
- "id": "SchematicsLibrary",
- "title": "Library Options Schema",
- "type": "object",
- "description": "Creates a new generic library project in the current workspace.",
- "long-description": "./library-long.md",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the library.",
- "$default": {
- "$source": "argv",
- "index": 0
- },
- "x-prompt": "What name would you like to use for the library?"
- },
- "entryFile": {
- "type": "string",
- "format": "path",
- "description": "The path at which to create the library's public API file, relative to the workspace root.",
- "default": "public-api"
- },
- "prefix": {
- "type": "string",
- "format": "html-selector",
- "description": "A prefix to apply to generated selectors.",
- "default": "lib",
- "alias": "p"
- },
- "skipPackageJson": {
- "type": "boolean",
- "default": false,
- "description": "When true, does not add dependencies to the \"package.json\" file. "
- },
- "skipInstall": {
- "description": "When true, does not install dependency packages.",
- "type": "boolean",
- "default": false
- },
- "skipTsConfig": {
- "type": "boolean",
- "default": false,
- "description": "When true, does not update \"tsconfig.json\" to add a path mapping for the new library. The path mapping is needed to use the library in an app, but can be disabled here to simplify development."
- },
- "lintFix": {
- "type": "boolean",
- "default": false,
- "description": "When true, applies lint fixes after generating the library.",
- "x-user-analytics": 15
- }
- },
- "required": []
- }
|