Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 1.31 KB

README.md

File metadata and controls

67 lines (56 loc) · 1.31 KB

JavaScript TDD 2020

  • JavaScript TDD project scaffold for 2020
  • node.js JavaScript ES6 TDD project scaffold using Mocha + Chai

Technologies

  • JavaScript ES6
  • Mocha v8.2
  • Chai v4.2
  • Babel v7.12
  • NVM v0.37
  • Node v15.2
  • NPM v7.0
  • Nodemon v2.0

Developer Machine Setup

Linux Operating System

  • Open the terminal
  • Install nvm, node, npm using the following commands:
touch ~/.bash_profile
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.37.0/install.sh | bash
source ~/.bash_profile
nvm install v15.2.1

Clone + Install

  • note: project-name is the name of your project/library.
git clone https://github.com/raydecastro/javascript-tdd-2020.git project-name
cd project-name
npm install

Build

npm run build

Test

npm test

Auto run tests on code change

npm run test-auto

Run

npm start

License

MIT

Team

References