{"id":18585350,"url":"https://github.com/tyhopp/react-node-env","last_synced_at":"2025-04-10T13:30:56.513Z","repository":{"id":62032341,"uuid":"535977902","full_name":"tyhopp/react-node-env","owner":"tyhopp","description":"Replace all instances of NODE_ENV with REACT_NODE_ENV in React","archived":false,"fork":false,"pushed_at":"2023-02-16T07:36:53.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T21:38:59.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyhopp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-13T05:51:15.000Z","updated_at":"2022-10-12T08:09:54.000Z","dependencies_parsed_at":"2024-11-07T00:36:10.224Z","dependency_job_id":"6083812a-6cf6-42e5-9562-e37d2d8dd190","html_url":"https://github.com/tyhopp/react-node-env","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Freact-node-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Freact-node-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Freact-node-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Freact-node-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyhopp","download_url":"https://codeload.github.com/tyhopp/react-node-env/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225707,"owners_count":21068078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T00:33:16.362Z","updated_at":"2025-04-10T13:30:54.441Z","avatar_url":"https://github.com/tyhopp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-node-env\n\nReplace all instances of the `NODE_ENV` environment variable with `REACT_NODE_ENV` in these packages:\n\n- `react`\n- `react-dom`\n- `react-is`\n- `react-server-dom-webpack`\n- `scheduler`\n\n\u003e If there's another package that would be useful to add to this list please feel free to open a PR.\n\nUseful if you want to enable React's development builds for debugging without changing `NODE_ENV` in your process (since other things may depend on it).\n\n## Usage\n\nTo convert:\n\n```\nnpx react-node-env@latest\n```\n\nor revert:\n\n```\nnpx react-node-env@latest --revert\n```\n\nThen you can set the `REACT_NODE_ENV` as you wish, for example:\n\n```\nREACT_NODE_ENV='development' npm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Freact-node-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyhopp%2Freact-node-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Freact-node-env/lists"}