Nodemon is a simple little package that automatically restarts your server when files change. Use: npm run dev
chalk library based on ES5 standard, we use to change color to console messages
The Express philosophy is to provide small, robust tooling for HTTP servers, making it a great solution for single page applications, web sites, hybrids, or public HTTP APIs.
For expose your work in progress (WIP )to the world, letβs use localtunnel. Start your app: lt --port 8000
prestart in package.json enable automatically run files (functionalities or configuration) before npm run start
Runing mutiple tasks in parallel use npm-run-all
We choose Babel to compile newer javascript code to older one.
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code, with the goal of making code more consistent and avoiding bugs. In many ways, it is similar to JSLint and JSHint with a few exceptions:
Husky can prevent bad git commit, git push and more πΆ woof! git diff package.json
- "precommit": "rails test" $ git commit -am "Added precommit hook to run rails tests" husky > npm run -s precommit (node v8.6.0)
Jest π Delightful JavaScript Testing
Interesting guide to setup environment https://www.lvguowei.me/post/building-js-dev-env/
Generate mockData https://www.freecodecamp.org/news/rapid-development-via-mock-apis-e559087be066/