Skip to content

Commit

Permalink
Add cross-env for windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielboliveira committed May 11, 2020
1 parent 09adac8 commit a6ee892
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"main": "dist/index.js",
"scripts": {
"webpack:base": "node_modules/webpack/bin/webpack.js --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"dev:base": "NODE_ENV=development yarn webpack:base",
"dev:base": "cross-env NODE_ENV=development yarn webpack:base",
"dev": "yarn dev:base --progress",
"watch": "yarn dev --watch",
"prod": "NODE_ENV=production yarn webpack:base",
"prod": "cross-env NODE_ENV=production yarn webpack:base",
"lint": "eslint --ext js .",
"lint:fix": "yarn lint --fix",
"prepublishOnly": "yarn test && yarn prod",
Expand Down Expand Up @@ -37,6 +37,7 @@
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"codecov": "^3.6.5",
"cross-env": "^7.0.2",
"eslint": "^7.0.0",
"laravel-mix": "^5.0.4",
"mocha": "^7.1.2",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3087,6 +3087,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
safe-buffer "^5.0.1"
sha.js "^2.4.8"

cross-env@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9"
integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw==
dependencies:
cross-spawn "^7.0.1"

[email protected], cross-spawn@^6.0.0, cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand All @@ -3106,7 +3113,7 @@ cross-spawn@^7.0.0:
shebang-command "^2.0.0"
which "^2.0.1"

cross-spawn@^7.0.2:
cross-spawn@^7.0.1, cross-spawn@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.2.tgz#d0d7dcfa74e89115c7619f4f721a94e1fdb716d6"
integrity sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==
Expand Down

0 comments on commit a6ee892

Please sign in to comment.