Closed muskangupta-iitr closed 4 years ago
cross-env module is widely used npm package for setting up environment variables through single command. We can directly set environment variable from package.json file. For example:
cross-env
package.json
'start:dev': 'cross-env NODE_ENV=development && gulp dev'; 'test': 'cross-env NODE_ENV=test && mocha --timeout 100000'
The above command is for starting the development server and setting NODE_ENV variable to development.
NODE_ENV
I would like to work on this issue :smiley:
@AdrianBZG @Nikhil-Vats Pls review!
Description
cross-env
module is widely used npm package for setting up environment variables through single command. We can directly set environment variable frompackage.json
file. For example:The above command is for starting the development server and setting
NODE_ENV
variable to development.I would like to work on this issue :smiley:
Settings