diff --git a/package.json b/package.json index adfa40ce39e..19b536ebb16 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "license": "Apache-2.0", "scripts": { "dev": "concurrently \"yarn start\" \"gulp watch\" \"yarn cdap-dev-build-w\" \"yarn build-dev-common-w\"", - "start": "yarn run build-server && NODE_ENV=development node ./packaged/server_dist/index.js", - "cdap-prod-build": "NODE_ENV=production NODE_OPTIONS=--openssl-legacy-provider parallel-webpack", - "cdap-dev-build": "NODE_ENV=development NODE_OPTIONS=--openssl-legacy-provider parallel-webpack --config=webpack.config.js -d", - "cdap-dev-build-w": "NODE_ENV=development NODE_OPTIONS=--openssl-legacy-provider parallel-webpack --watch -d ", + "start": "cross-env NODE_OPTIONS='--openssl-legacy-provider' yarn run build-server && NODE_ENV=development node ./packaged/server_dist/index.js", + "cdap-prod-build": "NODE_ENV=production parallel-webpack", + "cdap-dev-build": "NODE_ENV=development parallel-webpack --config=webpack.config.js -d", + "cdap-dev-build-w": "NODE_ENV=development parallel-webpack --watch -d ", "reload-dev-w": "NODE_ENV=reload node --max-old-space-size=8192 ./node_modules/.bin/webpack-dev-server --mode development --progress --config=./webpack.config.cdap.dev.js", "hmr-dev-w": "NODE_ENV=hmr node --max-old-space-size=8192 ./node_modules/.bin/webpack-dev-server --mode development --progress --config=./webpack.config.cdap.dev.js", "cdap-full-build": "run-p cdap-prod-build distribute",