Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ypkgfiles

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ypkgfiles

Yet another pkgfiles that generate pkg.files automatically

  • 1.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-4.58%
Maintainers
1
Weekly downloads
 
Created
Source

ypkgfiles

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Yet another pkgfiles that generate pkg.files automatically

Why

Recommend pkg.files instead of .npmignore to choose which file should be included when npm publish. However, we will miss some files or directories when published, and should fix with another publishing.

Using ypkgfiles, it will generate pkg.files automatically with some configuration.

Usage

$ npm install ypkgfiles
$ pkgfiles

Then files will be generated in package.json. ypkgfiles will lookup files from the main export.

If you want to publish some files that is not based on main export, such as mz

require('mz/fs')

You can use --entry fs.js options to add to files automatically. If have more files, you can use glob --entry *.js.

License

MIT

FAQs

Package last updated on 14 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc