summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2023-11-07 14:02:18 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2023-11-07 14:15:44 +0100
commit97aac092e5c43bc268fe33ef2a1a65d9d84ed232 (patch)
tree1ac6f58bca7442b2b3d6cfa21ef93046976917c1
parente5a4f6a005f155caabd1328aeed241a3424ecd2c (diff)
remove duplicate npm ci, don't use npm install
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--Makefile1
-rw-r--r--package-lock.json2
-rw-r--r--package.json2
3 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c59e3b9ea..b2c600f68 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 7c0de354d..cde020c81 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 27c51e5a4..8ed9bc7bd 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",