Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.28 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.28 KB

depextract

depextract is a CLI tool to extract dependencies from package.json.

jsDocs.io

Use case

Suppose you are trying to upgrade your project or create a new project with same dependencies as another project. Now, the first thing you might require is list of Production and Dev Dependencies.

To extract and generate a CLI Script based on your Package manager configuration, you may use depextract

Installation:

  npx depextract

Usage

  • Open the directory where package.json resides
  • Use:
      npx depextract
    
  • Select among the most suitable options:
        ? Select location of package.json
        (Use arrow keys)
        ❯ current directory
          another directory (provide path in next step)
    
  • Select the package manager to be used for upcoming project (npm, yarn, pnpm, etc.)
  • Generated scripts reside in scripts.sh

Author

Blogs:

License

This project is under the MIT License