cortex-package-files

Get all files that cortex needs inside a repo.

Usage no npm install needed!

<script type="module">
  import cortexPackageFiles from 'https://cdn.skypack.dev/cortex-package-files';
</script>

README

cortex-package-files NPM version Build Status Dependency Status

Get all files that cortex needs inside a repo.

Install

$ npm install cortex-package-files --save

Usage

var files = require('cortex-package-files');

files(options, callback)

  • options Object
    • cwd path
    • pkg Object package object
    • more Boolean=false if true, it will include more files according to pkg.directories and pkg.css
  • callback function(err, files)
  • err Error
  • files Array.<path> array of path

License

MIT