Skip to content

Collect the minimal list of dependencies required by a JS file.

License

Notifications You must be signed in to change notification settings

gristlabs/collect-js-deps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collect-js-deps

Build Status npm version

Collect the minimal list of dependencies required by a JS file.

This module allows you to examine all dependencies of your Javascript project, and collect or list just those files that it relies on. It uses Browserify, and supports transforms (incuding tsify to compile TypeScript) to produce transformed or compiled files as output.

Installation

npm install --save-dev collect-js-deps

Usage

$(npm bin)/collect-js-deps --outdir <path> [--list] [browserify_options] <entry_files...>

About

Collect the minimal list of dependencies required by a JS file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published