Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use next-env-cli in npm scripts #74

Open
natterstefan opened this issue Feb 6, 2022 · 0 comments
Open

feat: use next-env-cli in npm scripts #74

natterstefan opened this issue Feb 6, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@natterstefan
Copy link
Owner

Feature Request

Make use of Next's env handling (.env, .env.local, ...) by using https://github.com/skirsten/next-env-cli in npm scripts.

Basic example

"cypress:open-test": "wait-on tcp:3010 && cross-env NODE_ENV=test next-env-cli cypress open"
@natterstefan natterstefan added the enhancement New feature or request label Feb 6, 2022
@natterstefan natterstefan self-assigned this Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant