diff --git a/Makefile b/Makefile index c59e3b9ea1..b2c600f682 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,6 @@ endif .PHONY: npm npm: ifneq (, $(npm)) - $(npm) ci $(npm) run build else @echo "npm command not available, please install nodejs first" diff --git a/package-lock.json b/package-lock.json index 7c0de354d8..cde020c81c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -97,7 +97,7 @@ }, "engines": { "node": "^16.0.0", - "npm": "^7.0.0 || ^8.0.0" + "npm": "^8.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 27c51e5a48..8ed9bc7bdd 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "An RSS/Atom feed reader", "main": "js/nextcloud-news-main.js", "scripts": { - "prebuild": "npm install && npm ci", + "prebuild": "npm ci", "build": "NODE_ENV=production webpack --progress --config webpack.js", "dev": "NODE_ENV=development webpack --progress --config webpack.js", "watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",