build-npm-repo-to

0.0.6 • Public • Published

build-npm-repo-to

CLI tool that:

  • Checks out a git repository
  • Runs npm install
  • Runs npm run build
  • Copies dist/* to a given folder

Example

To clone and build https://github.com/user/repo and copy its built files to /tmp/dood use:

build-npm-repo-to https://github.com/user/repo /tmp/dood

To Do

  • specify custom dist folder
  • specify custom npm command (ie not run build)

Development

To find stories to work on checkout our board

  • npm run cover runs the tests with coverage
  • npm run lint runs lint
  • npm run mocha runs mocha (tests) on a watch
  • npm run test runs tests with linting and coverage

Be sure and ready the code of conduct

Package Sidebar

Install

npm i build-npm-repo-to

Weekly Downloads

5

Version

0.0.6

License

MIT

Last publish

Collaborators

  • bennett000