{
  "id": "np",
  "name": "np",
  "homepage": "https://github.com/sindresorhus/np",
  "description": "A better npm publish.",
  "executables": [
    "np"
  ],
  "dotfiles": {
    "paths": [
      "~/.np-config.json",
      "~/.np-config.js",
      "~/.np-config.cjs",
      "~/.np-config.mjs"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Publish package",
    "description": "Interactive npm publish with version bump, tests and git tag. Only flags in the completion data are offered.",
    "quality": "ai-draft",
    "base": "fig:np",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/np.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "version",
        "label": "Version or bump",
        "type": "string",
        "position": 0,
        "suggestions": [
          {
            "value": "patch",
            "label": "patch"
          },
          {
            "value": "minor",
            "label": "minor"
          },
          {
            "value": "major",
            "label": "major"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "tag",
        "label": "Dist-tag",
        "type": "string",
        "option": [
          "--tag"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "branch",
        "label": "Release branch",
        "type": "string",
        "option": [
          "--branch"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "any_branch",
        "label": "Any branch",
        "type": "boolean",
        "option": [
          "--any-branch"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_tests",
        "label": "Skip tests",
        "type": "boolean",
        "option": [
          "--no-tests"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_cleanup",
        "label": "Skip cleanup",
        "type": "boolean",
        "option": [
          "--no-cleanup"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_publish",
        "label": "Skip publishing",
        "type": "boolean",
        "option": [
          "--no-publish"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "preview",
        "label": "Preview tasks only",
        "type": "boolean",
        "option": [
          "--preview"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "contents",
        "label": "Subdirectory to publish",
        "type": "path",
        "option": [
          "--contents"
        ],
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "message",
        "label": "Version commit message",
        "type": "string",
        "option": [
          "--message"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_release_draft",
        "label": "Skip GitHub release draft",
        "type": "boolean",
        "option": [
          "--no-release-draft"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_2fa",
        "label": "Do not enable 2FA on new packages",
        "type": "boolean",
        "option": [
          "--no-2fa"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "test_script",
        "label": "Test script name",
        "type": "string",
        "option": [
          "--test-script"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "preview",
        "label": "Preview release",
        "fields": [
          "version",
          "tag"
        ],
        "required": [],
        "set": {
          "preview": [
            true
          ]
        }
      },
      {
        "id": "release",
        "label": "Release",
        "fields": [
          "version",
          "tag",
          "branch",
          "no_tests"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "version",
          "tag",
          "no_tests",
          "preview"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "no_cleanup",
          "no_publish",
          "contents",
          "message",
          "no_release_draft",
          "no_2fa",
          "test_script",
          "any_branch",
          "branch"
        ]
      }
    ]
  }
}
