cross-env-os

7.1.1 • Public • Published

Set env only for specific platform, available choices are Linux,Windows_NT,Darwin. Support set min node version by minVersion

{
  "scripts": {
    "build": "cross-env-os os=\"Linux,Windows_NT\" minVersion=17 NODE_ENV=production webpack --config build/webpack.config.js"
  }
}

Package Sidebar

Install

npm i cross-env-os

Weekly Downloads

28

Version

7.1.1

License

MIT

Unpacked Size

23.4 kB

Total Files

13

Last publish

Collaborators

  • chestershen