From ee71d220f606a65445409d15f1d57cd481d74e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatriz=20Sopen=CC=83a=20Merino?= Date: Wed, 6 Jul 2022 19:18:27 +0200 Subject: [PATCH] CONFIG. Remove 'node_modules' and 'package-lock.json' when run the npm script 'preinstall' --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e5ddb5b2..d81d4ee2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions", + "preinstall": "rm -rf node_modules package-lock.json && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions", "postinstall": "npm run lint", "serve": "vue-cli-service serve", "build": "vue-cli-service build",