Npm publish config

From a5c-ai/babysitter · View interactive version

Npm publish config is an AI agent skill from the GitHub repository a5c-ai/babysitter. Configure npm publishing with proper bin entry, files, and registry settings.

How to use this skill

Skill file

NPM Publish Config

Configure npm publishing for CLI packages.

Generated Patterns

{
  "name": "@myorg/mycli",
  "version": "1.0.0",
  "bin": { "mycli": "./dist/index.js" },
  "files": ["dist", "README.md", "LICENSE"],
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "engines": { "node": ">=18" },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "scripts": {
    "prepublishOnly": "npm run build && npm test"
  }
}

Target Processes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.