Skip to content

Instantly share code, notes, and snippets.

View JuanmeGarcia's full-sized avatar
🎯
Focusing

Juan Garcia Carballo JuanmeGarcia

🎯
Focusing
View GitHub Profile
@andrewmunro
andrewmunro / .babelrc
Created July 17, 2017 11:30
Sequelize cli with ES6
{
"presets": ["es2015"],
"plugins": [
"add-module-exports"
],
}
@codewithleader
codewithleader / nodejs-env-v20.md
Last active October 12, 2024 15:52
NodeJS+env v20 o superior: Como configurar las variables de entorno en la version 20 de NodeJS

Configurar package.json para activar las env en la version 20 de NodeJS

  • Agregar --env-file=.env en los scripts en package.json asi:
  "scripts": {
    "dev": "tsnd --env-file=.env --respawn --clear src/app.ts",
    "start": "npm run build && node --env-file=.env dist/app.js",
  },