Skip to content

Commit

Permalink
feat: add cross-env to support setting env variables in multiple plat…
Browse files Browse the repository at this point in the history
…forms
  • Loading branch information
paulobmarcos authored Apr 3, 2020
1 parent ac8a5cf commit 13a8e11
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 2 deletions.
52 changes: 52 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"lint": "eslint . --ignore-path .gitignore",
"test": "jest src",
"prebuild": "node prebuild.js",
"build:commonjs": "BABEL_ENV=commonjs babel src -d lib --delete-dir-on-start",
"build:es": "BABEL_ENV=es babel src -d es --delete-dir-on-start",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib --delete-dir-on-start",
"build:es": "cross-env BABEL_ENV=es babel src -d es --delete-dir-on-start",
"build": "npm run build:commonjs && npm run build:es",
"postbuild": "node postbuild.js",
"prerelease": "npm t && npm run lint && npm run build",
Expand Down Expand Up @@ -50,6 +50,7 @@
"@moxy/jest-config": "^2.0.0",
"@testing-library/react": "^9.4.1",
"babel-preset-moxy": "^3.2.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-moxy": "^9.1.1",
"fs-extra": "^8.1.0",
Expand Down

0 comments on commit 13a8e11

Please sign in to comment.