Skip to content

Commit

Permalink
chore(app-general): update build script adding version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rams23 committed Feb 26, 2021
1 parent be8fdb6 commit 147550c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/game-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"scripts": {
"start": "react-app-rewired start",
"start:instrument": "react-app-rewired -r @cypress/instrument-cra start",
"build": "react-app-rewired build",
"build": "npx cross-env REACT_APP_VERSION=$npm_package_version react-app-rewired build",
"build:dev": "npx cross-env REACT_APP_VERSION=$npm_package_version env-cmd -f .env react-app-rewired build",
"build:test": "npx cross-env REACT_APP_VERSION=$npm_package_version env-cmd -f .env.test react-app-rewired build",
"build:prod": "npx cross-env REACT_APP_VERSION=$npm_package_version env-cmd -f .env.production react-app-rewired build",
Expand Down

0 comments on commit 147550c

Please sign in to comment.