Set the NODE_ENV
variable on all platforms. Without cross-spawn
, very slim.
run-with-node-env production npm start # NODE_ENV=production npm start
run-with-node-env development npm run start:dev # NODE_ENV=development npm run start:dev
Set the NODE_ENV
variable on all platforms. Without cross-spawn
, very slim.
run-with-node-env production npm start # NODE_ENV=production npm start
run-with-node-env development npm run start:dev # NODE_ENV=development npm run start:dev
npm i run-with-node-env
135
2.0.1
MIT
3.44 kB
4