build-npm-repo-to

Program that checks out a git repos builds them and copies their output


Keywords
repository, git, npm, install, build, copy, cp
License
MIT
Install
npm install build-npm-repo-to@0.0.4

Documentation

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