Skip to content

Instantly share code, notes, and snippets.

@doidor
Last active September 25, 2019 07:14
Show Gist options
  • Save doidor/a4dec65cf9ac656eccbfa86b7e556215 to your computer and use it in GitHub Desktop.
Save doidor/a4dec65cf9ac656eccbfa86b7e556215 to your computer and use it in GitHub Desktop.
NodeJS Babel, Jest, Flow boilerplate using nod
#!/bin/bash
usage() {
echo -e "Usage: $0 <repo_name>"
}
if [[ $# -lt 1 ]]; then
usage
exit 0
fi
REPO_NAME=$1
git clone https://github.com/diegohaz/nod $REPO_NAME
pushd $REPO_NAME
rm -rf .git
echo '' > README.md
echo '' > LICENSE
yarn
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment