Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 184 Bytes

use_variables_from_env_when_calling_a_script.md

File metadata and controls

10 lines (9 loc) · 184 Bytes

Use variables from .env when calling a script

{
    "scripts": {
        "start": "export $(cat .env | xargs) && node ./app/index.js"
    },
    "dependencies": {
    }
}