summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkitsunyan2018-01-28 05:29:10 +0300
committerkitsunyan2018-01-28 05:29:10 +0300
commitb2fd25635d1abd9edc67b028dda184222220873d (patch)
tree45d381624c9bed9ccda4a3ccb4a1032ac19c1d87
parent5feef90615f9b4a685a800f31cb462aa171d4476 (diff)
downloadaur-b2fd25635d1abd9edc67b028dda184222220873d.tar.gz
Install only non-dev dependencies
-rw-r--r--PKGBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 95e9e055fe9..0aa7661df9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,15 +21,12 @@ prepare() {
bsdtar -xf "../drawio-desktop-$pkgver.zip" -C .
rm -rf "META-INF" "WEB-INF"
-
- # remove electron from dependencies
- sed '/"electron": ".*"/d' -i 'package.json'
}
build() {
cd "$srcdir/drawio-$pkgver"
- npm install --cache ../npm-cache
+ npm install --cache ../npm-cache --only=production
rm -f 'package-lock.json'
}