home/categories/package-distribution/privatenumber-clean-pkg-json-skills-clean-pkg-json-skill-md
package-distributiondevelopment

clean-pkg-json

Cleans package.json for npm publishing using an allowlist approach — preserves only consumer-relevant properties. Use when setting up prepack hooks, configuring npm publish workflows, or working with clean-pkg-json flags.

privatenumber
maintainer
privatenumber
Mis à jour 3/21/2026
Étoiles
69
Forks
1
quick start

Installation and usage

Cleans package.json for npm publishing using an allowlist approach — preserves only consumer-relevant properties. Use when setting up prepack hooks, configuring npm publish workflows, or working with clean-pkg-json flags.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use clean-pkg-json