Skip to content

Commit

Permalink
removed custom build vars
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk committed Apr 20, 2024
1 parent 293cab8 commit 745b0d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.cypress
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY <<EOF $APP/viz-lib/package.json
}
}
EOF
RUN COMPOSE_BUILD=true yarn install
RUN yarn install

COPY client/cypress $APP/client/cypress

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"scripts": {
"start": "npm-run-all --parallel watch:viz webpack-dev-server",
"clean": "rm -rf ./client/dist/",
"build:viz": "[[ $CYPRESS_BUILD == true ]] || (cd viz-lib && yarn build:babel)",
"build:viz": "cd viz-lib && yarn build:babel",
"build": "yarn clean && yarn build:viz && NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack",
"watch:app": "NODE_OPTIONS=--openssl-legacy-provider webpack watch --progress",
"watch:viz": "[[ $CYPRESS_BUILD == true ]] || (cd viz-lib && yarn watch:babel)",
"watch:viz": "cd viz-lib && yarn watch:babel",
"watch": "npm-run-all --parallel watch:*",
"webpack-dev-server": "webpack-dev-server",
"analyze": "yarn clean && BUNDLE_ANALYZER=on NODE_OPTIONS=--openssl-legacy-provider webpack",
Expand All @@ -25,7 +25,7 @@
"test": "run-s type-check jest",
"test:watch": "jest --watch",
"cypress": "COMPOSE_PROFILES=local node client/cypress/cypress.js",
"postinstall": "[[ $CYPRESS_BUILD == true ]] || (cd viz-lib && yarn install && yarn build:babel)"
"postinstall": "cd viz-lib && yarn install && yarn build:babel"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 745b0d0

Please sign in to comment.