Created
December 1, 2020 20:30
-
-
Save wila-diaz/a98d7bfa3dd463f3856ca3d9bf24142c to your computer and use it in GitHub Desktop.
Node complements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parserOptions": { | |
"ecmaVersion": 2018 | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"prettier" | |
], | |
"env": { | |
"es6": true, | |
"node": true, | |
"mocha": true | |
}, | |
"rules": { | |
"no-console": "warn" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "req-res", | |
"version": "1.0.0", | |
"description": "", | |
"main": "req.js", | |
"scripts": { | |
"dev": "DEBUG=app:* nodemon index.js", | |
"start": "NODE_ENV=production node index.js" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"dotenv": "^8.2.0", | |
"express": "^4.17.1" | |
}, | |
"devDependencies": { | |
"eslint": "^7.14.0", | |
"eslint-config-prettier": "^6.15.0", | |
"eslint-plugin-prettier": "^3.1.4", | |
"husky": "^4.3.0", | |
"lint-staged": "^10.5.2", | |
"nodemon": "^2.0.6", | |
"prettier": "^2.2.1" | |
}, | |
"husky": { | |
"hooks": { | |
"pre-commit": "lint-staged" | |
} | |
}, | |
"lint-staged": { | |
"*.js": "eslint --cache --fix" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tabWidth": 2, | |
"semi": true, | |
"singleQuote": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment