node.js + es6 project scaffold for test driven development (tdd)
touch ~/.bash_profile
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
source ~/.bash_profile
nvm install v7.5.0
npm install -g npm
npm install -g yarn- note:
project-nameis the name of your project/library.
git clone https://github.com/cleancodedojo/node-es6-tdd.git project-name
cd project-name
yarnnpm testnpm run test-autonpm run build- note:
project-nameis the name of your project/library.
import App from "project-name"./test.sh./build.sh- note: you should only do this once, after cloning the repo. you will loose all your git history if you run this script.
- after clearing the original git history, run
git init+git add .to add the project scaffold files to a new git repo
./clear-git-history.sh- javascript
- es6 + babel
- mocha + chai
- nvm + node + npm + yarn
- gulp
MIT
- ray joseph de castro. software architect.