- Nodemon
- ESLint
- Process Manager and Supervisor
- Node-Inspector as Debugger
- Debug as logging tool
- Code Style with Prettier
For use during development of a Node.js based application
npm install nodemon --save-dev
package.json
"scripts": {
"dev": "nodemon --watch ./ --ignore ./node_modules ./bin/www",
}
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code
npm install eslint --save-dev
./node_modules/.bin/eslint --init
package.json
"scripts": {
"lint": "eslint ./"
}
CLI tool for ensuring that a given script runs continuously
npm install forever --save
forever start app.js
Node Inspector is a debugger interface for Node.js applications
npm install -g node-inspector
node-debug app.js
npm install debug --save
.prettierrc
{
"bracketSpacing": false,
"eslintIntegration": true,
"singleQuote": true
}