- Download and install last Node.js LTS-версию.
- Open console and run
node -vcommand to check that Node.js version is at leastv8.11.3; - Run in console
npm -vcommand to check that npm version is at least5.6.0; - Download and install Git, in case you don't have it installed;
- Run in console
git --versioncommand, to check Git version, should be at least2.18.0; - Clone and launch the project:
git clone https://github.com/NtonBala/todo-app-umai-test-task.git; - Run in console
cd todo-app-umai-test-task; - Run
npm installto install project dependencies; - Run
npm startto start project in development mode; - Open http://localhost:3000 in your browser.
Note: launch with
yarn «command»ornpm run «command».
| Command | Description |
|---|---|
start |
launch in development-mode |
build:prod |
launch build |
build:analyze |
launch build and analyze build result |
lint:javascript |
analyse source JavaScript code stylystic mistakes |
lint:css |
analyse source CSS-code stylictic mistakes |
lint |
analyse all source code sylistic mistakes |
test |
launch tests |
test:watch |
launch tests in watch-mode |
test:debug |
launch tests in debug-mode |
soundcheck |
launch all linters and tests |
prettier |
format source code with Prettier |
deploy |
deploy to GitHub Pages |
Staging is available on Github Pages: https://ntonbala.github.io/todo-app-umai-test-task