package-publishing
OfficialPublish npm packages like a pro.
Authoroakoss
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of configuring and publishing modern npm packages, ensuring correct package.json settings, dual ESM/CJS builds, and secure publishing workflows.
Core Features & Use Cases
package.jsonConfiguration: Master theexportsfield,main,module,types, andfilesfor robust package structure.- Dual ESM/CJS Builds: Configure your package to work seamlessly in both Node.js and browser environments.
- Secure Publishing: Implement
prepublishOnlychecks and understand provenance for supply-chain security. - Use Case: You've built a new TypeScript library and need to publish it to npm. This Skill guides you through setting up your
package.jsonto correctly define entry points, include type declarations, and ensure only necessary files are published.
Quick Start
Configure your package.json for dual ESM/CJS builds and set up a prepublishOnly script.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: package-publishing Download link: https://github.com/oakoss/agent-skills/archive/main.zip#package-publishing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.