Skip to content

Commit

Permalink
build(scripts): cross-env for windows compat
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Oct 23, 2021
1 parent ee498aa commit d35e626
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
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.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sideEffects": false,
"scripts": {
"generate": "node ./scripts/generate-named-exports",
"build": "npm run generate && NODE_ENV=production webpack",
"build": "npm run generate && cross-env NODE_ENV=production webpack",
"release": "rm -rf ./dist; npm run build && standard-version"
},
"repository": {
Expand All @@ -33,6 +33,7 @@
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"husky": "^7.0.4",
"standard": "^16.0.4",
"standard-version": "^9.3.2",
Expand Down

0 comments on commit d35e626

Please # to comment.