From 0dc4d06055ce23480000254c78f6a323d2fbae5a Mon Sep 17 00:00:00 2001 From: Sergey Solodyagin Date: Mon, 20 Dec 2021 10:50:38 +0300 Subject: [PATCH] fix: nodejs 17 compatibility --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 93afab7..4640d70 100644 --- a/package.json +++ b/package.json @@ -40,10 +40,10 @@ "url": "git+https://github.com/tenrok/vue-ganttastic.git" }, "scripts": { - "serve": "vue-cli-service serve --open", - "demo:build": "vue-cli-service build", - "lib:build": "vue-cli-service build --target lib --name vue-ganttastic lib/index.js", - "lint": "vue-cli-service lint" + "serve": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --open", + "demo:build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", + "lib:build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --target lib --name vue-ganttastic lib/index.js", + "lint": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint" }, "dependencies": { "vue": "^2.6.12"