privatenumber / pkg-size.dev

📦🔍 Find the true size of an npm package
https://pkg-size.dev
688 stars 6 forks source link

Feature Request: Add functionality for input of package.json file #11

Closed realityzero closed 1 year ago

realityzero commented 1 year ago

Proposed Solution:

The proposed solution is to extend the existing CLI with a new command that enables users to input their package.json file. When users execute the new command, the system will read the package.json file, extract relevant package details (e.g., dependencies, devDependencies, scripts, etc.), and automatically populate the project setup with the appropriate dependencies and configurations. This will eliminate the need for manual entry and minimise the chances of errors during setup.

Benefits:

privatenumber commented 1 year ago

Done:

The scripts are removed as they usually reference local files which won't be resolvable.