diff --git a/package.json b/package.json index d2de472f..08f0901d 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,12 @@ "license": "MIT", "scripts": { "dev": "vue-cli-service serve", - "build:prod": "vue-cli-service build", + "build:prod": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", "build:test": "vue-cli-service build --mode test", "preview": "node build/index.js --preview", - "lint": "eslint --ext .js,.vue src" + "lint": "eslint --ext .js,.vue src", + "server": "SET NODE_OPTIONS=--openssl-legacy-provider && webpack-dev-server --env.server --env.develop --inline --max-old-space-size=3000", + "dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --open" }, "husky": { "hooks": {