Skip to content
forked from tj/node-prune

About

Remove unnecessary files from node_modules (.md, .ts, ...)

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

77 Commits

Folders and files

Repository files navigation

What?

node-prune is a small tool to prune unnecessary files from ./node_modules, such as markdown, typescript source files, and so on. Primarily built for Up which lets you deploy serverless web applications in seconds.

Installation

$ go get github.com/kyleparisi/vendor-prune/cmd/vendor-prune

Usage

In your app directory:

$ vendor-prune

files total 27,330
files removed 3,990
size removed 13 MB
   duration 200ms

Somewhere else:

$ vendor-prune path/to/vendor

files total 27,330
files removed 3,990
size removed 13 MB
   duration 200ms

Or add to the package.json scripts field

  "scripts": {
    "postinstall": "vendor-prune"
  }

Why?

huge


GoDoc

About

Remove unnecessary files from node_modules (.md, .ts, ...)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址