Skip to content

Commit

Permalink
Merge pull request #31 from SzymonGalazka/enable-cross-env-commands
Browse files Browse the repository at this point in the history
Enable cross env compatibility
  • Loading branch information
shubhamjain authored May 18, 2023
2 parents 1133ad4 + d2ab136 commit 831a17d
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 285 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"version": "1.6.5",
"scripts": {
"postinstall": "npm-run-all build:*",
"build:js": "NODE_ENV=production webpack build",
"build:js": "cross-env NODE_ENV=production webpack build",
"build:cp": "cp ./dist/svg-loader.min.js ./svg-loader.min.js",
"build": "npm-run-all build:*",
"dev:watch": "webpack watch --mode development",
Expand All @@ -21,6 +21,7 @@
"prepare": "husky install"
},
"devDependencies": {
"cross-env": "^7.0.3",
"http-server": "^14.0.0",
"husky": "^8.0.3"
},
Expand Down
Loading

0 comments on commit 831a17d

Please sign in to comment.