Use cross-env to pass env vars (#2610)
This commit is contained in:
parent
056aab2560
commit
3247131570
3 changed files with 4519 additions and 15513 deletions
|
@ -32,7 +32,7 @@ These instructions will get you a copy of the project up and running on your loc
|
|||
|
||||
### Prerequisites
|
||||
|
||||
- Node.js v14+
|
||||
- Node.js v18+
|
||||
- A running instance of [Saleor](https://github.com/saleor/saleor/).
|
||||
|
||||
### Installing
|
||||
|
|
20020
package-lock.json
generated
20020
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -266,20 +266,20 @@
|
|||
]
|
||||
},
|
||||
"scripts": {
|
||||
"build-storybook": "env NODE_OPTIONS=--openssl-legacy-provider build-storybook -c src/storybook/ -o build/storybook",
|
||||
"build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-storybook -c src/storybook/ -o build/storybook",
|
||||
"build-types": "graphql-codegen",
|
||||
"prebuild": "npm run build-types",
|
||||
"build": "env NODE_OPTIONS=--openssl-legacy-provider webpack -p",
|
||||
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack -p",
|
||||
"check-strict-null-errors": "tsc --noEmit --strictNullChecks | node scripts/count-strict-null-check-errors.js",
|
||||
"check-types": "tsc --noEmit",
|
||||
"extract-json-messages": "formatjs extract 'src/**/*.{ts,tsx}' --out-file locale/defaultMessages.json --format scripts/formatter.js",
|
||||
"extract-messages": "npm run extract-json-messages",
|
||||
"fetch-schema": "graphql-codegen --config ./fetch-schema.yml && node scripts/build-schema.js",
|
||||
"heroku-postbuild": "npm run build",
|
||||
"serve:lhci": "NODE_ENV=production npm run server",
|
||||
"serve:lhci": "cross-env NODE_ENV=production npm run server",
|
||||
"prestart": "npm run build-types",
|
||||
"start": "env NODE_OPTIONS=--openssl-legacy-provider webpack-dev-server -d",
|
||||
"storybook": "env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 3000 -c src/storybook/",
|
||||
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack-dev-server -d",
|
||||
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 3000 -c src/storybook/",
|
||||
"cy:run": "cypress run",
|
||||
"cy:run:dashboard": "cypress run --record",
|
||||
"cy:open": "cypress open",
|
||||
|
|
Loading…
Reference in a new issue