ypkgfiles
Yet another pkgfiles that generate pkg.files automatically
Last updated 6 years ago by popomore .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ypkgfiles 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.6.0                                ...           latest (6 years ago)

11 Versions

  • 1.6.0                                ...           6 years ago
  • 1.5.0                                ...           7 years ago
  • 1.4.0                                ...           8 years ago
  • 1.3.1                                ...           8 years ago
  • 1.3.0                                ...           8 years ago
  • 1.2.0                                ...           8 years ago
  • 1.1.2                                ...           8 years ago
  • 1.1.1                                ...           8 years ago
  • 1.1.0                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (7)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE