0
leocast
9d

Does anyone know how to create a command on a npm library that download the files in root folder?

Like 'create-react-app'.

Comments
  • 2
    How bout you just write a shell/batch for that.
  • 1
    the file 'bin/index.js' gets executed on calling, the alias is specified in package.json. Google it, it's not that hard.
Add Comment