Skip to content

Instantly share code, notes, and snippets.

@undrafted
Created March 11, 2020 14:02
Show Gist options
  • Save undrafted/712bbb344785e71b0ac4557a364b80af to your computer and use it in GitHub Desktop.
Save undrafted/712bbb344785e71b0ac4557a364b80af to your computer and use it in GitHub Desktop.
Use env variables in package.json
"scripts": {
"e2e:staging": "yarn run $(grep API_KEY .env | cut -d '=' -f2)",
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment