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
更新日 3/21/2026
スター
69
フォーク
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.

インストール
$ install --globalskills.sh
使い方

インストール後、ターミナルで以下のコマンドを実行してこのスキルを使用できます:

skills use clean-pkg-json