imagelab
imagelab copied to clipboard
[Image Lab React] Added cross-env package to set Browser env.
Description
Added a cross-env package in the node modules so that it can set env var BROWSER=none on running the command 'yarn dev' or 'npm run dev'.
- Fixes #175
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or feature that would cause existing functionality not to work as expected)
- [ ] This change requires a documentation update
How Has This Been Tested?
On running the command 'yarn dev' or 'npm run dev', both the commands to start electron and react servers were starting properly and browser is set to none so that react server does not open browser, infact electron app is starting directly without any issue.
Also, include screenshots for verification and reviewing purpose.
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules