diff --git a/package.json b/package.json index f7297a4d2..c8d89a1ad 100644 --- a/package.json +++ b/package.json @@ -124,8 +124,8 @@ "build": "node config/build.js", "clean": "rm -rf coverage && rm -rf dist/*.js* && rm ./*.log", "coverage": "cat ./coverage/lcov.info", - "dev": "cross-env BABEL_ENV=test webpack-dev-server --inline --hot --open --content-base ./test/unit/ --config config/webpack.dev.conf.js", - "docs:build": "cross-env NODE_ENV=production node config/version.js && cross-env NODE_ENV=production vuepress build vuepress -d docs", + "dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider BABEL_ENV=test webpack-dev-server --inline --hot --open --content-base ./test/unit/ --config config/webpack.dev.conf.js", + "docs:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production node config/version.js && cross-env NODE_ENV=production vuepress build vuepress -d docs", "docs:clean": "rm -rf docs/**", "docs:dev": "vuepress dev vuepress", "flow": "flow check",