README
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 notrun build
)
Development
To find stories to work on checkout our board
npm run cover
runs the tests with coveragenpm run lint
runs lintnpm run mocha
runs mocha (tests) on a watchnpm run test
runs tests with linting and coverage
Be sure and ready the code of conduct