Skip to content

Commit

Permalink
wip: try setting node options in package (#1559)
Browse files Browse the repository at this point in the history
* wip: try setting node options in package

* Trigger build
  • Loading branch information
tomjeatt authored Sep 13, 2023
1 parent 7ce3ddb commit a965f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"@polkadot/util-crypto": "^10.2.4"
},
"scripts": {
"start": "craco start",
"start": "NODE_OPTIONS=--openssl-legacy-provider craco start",
"start-regtest": "cross-env REACT_APP_BITCOIN_NETWORK=regtest yarn start",
"start-testnet": "cross-env REACT_APP_BITCOIN_NETWORK=testnet yarn start",
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package sample-polkadotjs-typegen/interfaces --input ./src/interfaces",
Expand All @@ -168,7 +168,7 @@
"type-check": "tsc",
"format": "yarn prettier --write src",
"setup": "yarn generate:defs && yarn generate:meta",
"build": "REACT_APP_VERSION=$npm_package_version craco build",
"build": "NODE_OPTIONS=--openssl-legacy-provider REACT_APP_VERSION=$npm_package_version craco build",
"build-with-webpack-bundle-analysis": "yarn build --stats && webpack-bundle-analyzer build/bundle-stats.json -m static -r build/bundle-stats.html -O",
"lint-and-type-check": "yarn lint && yarn type-check",
"eject": "react-scripts eject",
Expand Down

2 comments on commit a965f8c

@vercel
Copy link

@vercel vercel bot commented on a965f8c Sep 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on a965f8c Sep 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.