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