Last active
May 8, 2021 05:45
-
-
Save mosluce/09864c5a40b2da8b7cc3661f3f2304ab to your computer and use it in GitHub Desktop.
vscode + nodemon + babel-node => backend development env
This file contains 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
{ | |
"rules": {}, | |
"env": { | |
"es6": true, | |
"browser": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 2018, | |
"sourceType": "module" | |
}, | |
"extends": ["eslint:recommended", "plugin:prettier/recommended"], | |
"globals": { | |
"Atomics": "readonly", | |
"SharedArrayBuffer": "readonly" | |
} | |
} |
This file contains 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
{ | |
"singleQuote": true | |
} |
This file contains 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
{ | |
"presets": [["@babel/preset-env", { "targets": { "node": "12" } }]], | |
"sourceMaps": "inline" | |
} |
This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch via NPM", | |
"request": "launch", | |
"runtimeArgs": ["run", "start:dev"], | |
"runtimeExecutable": "npm", | |
"skipFiles": ["<node_internals>/**"], | |
"type": "pwa-node" | |
} | |
] | |
} |
This file contains 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": "klcc-api-core", | |
"version": "1.0.0", | |
"main": "index.js", | |
"author": "mosluce", | |
"license": "MIT", | |
"dependencies": { | |
"babel-loader": "^8.2.2", | |
"express": "^4.17.1", | |
"parse-server": "^2.8.11-upsert-db-cors" | |
}, | |
"scripts": { | |
"build": "rimraf dist && babel -d dist src", | |
"start:dev": "nodemon --exec babel-node src/index.js", | |
"lint": "eslint", | |
"test": "jest" | |
}, | |
"engines": { | |
"node": ">=12" | |
}, | |
"devDependencies": { | |
"@babel/cli": "^7.13.16", | |
"@babel/core": "^7.14.0", | |
"@babel/node": "^7.13.13", | |
"@babel/preset-env": "^7.14.1", | |
"@types/parse": "^2.18.6", | |
"babel-jest": "^26.6.3", | |
"eslint": "^7.25.0", | |
"eslint-config-prettier": "^8.3.0", | |
"eslint-plugin-prettier": "^3.4.0", | |
"jest": "^26.6.3", | |
"nodemon": "^2.0.7", | |
"prettier": "^2.2.1", | |
"rimraf": "^3.0.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment