Skip to content

Commit

Permalink
[fix] FIxed package.json to ensure setup script is executed on build …
Browse files Browse the repository at this point in the history
…and client
  • Loading branch information
pandafy committed Jan 8, 2024
1 parent 851e2c6 commit 754a9ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@
"webpack-dev-server": "^4.7.3"
},
"scripts": {
"build": "export NODE_OPTIONS=--openssl-legacy-provider npm run setup && webpack --mode production --progress --config config/webpack.config.js",
"build-dev": "export NODE_OPTIONS=--openssl-legacy-provider npm run setup && webpack --mode development --progress --config config/webpack.config.js",
"client": "export NODE_OPTIONS=--openssl-legacy-provider npm run setup && webpack serve --host 0.0.0.0 --mode development --config config/webpack.config.js",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && npm run setup && webpack --mode production --progress --config config/webpack.config.js",
"build-dev": "export NODE_OPTIONS=--openssl-legacy-provider && npm run setup && webpack --mode development --progress --config config/webpack.config.js",
"client": "export NODE_OPTIONS=--openssl-legacy-provider && npm run setup && webpack serve --host 0.0.0.0 --mode development --config config/webpack.config.js",
"coverage": "jest --coverage --testPathIgnorePatterns=/browser-test/",
"coveralls": "test -f ./coverage/lcov.info && cat ./coverage/lcov.info | coveralls || echo 'no coverage file found'",
"add-org": "node config/add-org.js",
Expand Down

0 comments on commit 754a9ba

Please sign in to comment.