From c01325688158fdde886e2ecb347d8d4d9707a84d Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 16 Jun 2021 15:39:32 +0200 Subject: [mod] remove common grunt install Before this commit, there are 3 node_modules directory: * one in . * two others in ./searx/statics/themes/* This is no desirable: * it declares the npm depdenencies in the shell script. * dependabot can't updates theses dependencies. * this is a not standard way to build a package (two different locations for the dependencies). With this commit and the PR #150 there is one unique node_modules directory per theme. --- searx/static/themes/simple/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'searx/static/themes/simple/package.json') diff --git a/searx/static/themes/simple/package.json b/searx/static/themes/simple/package.json index 038520a3d..e23157bf4 100644 --- a/searx/static/themes/simple/package.json +++ b/searx/static/themes/simple/package.json @@ -20,8 +20,8 @@ "leaflet": "^1.7.1" }, "scripts": { - "build": "npm install && grunt", - "start": "grunt watch", - "test": "grunt" + "all": "npm install && grunt", + "build": "grunt", + "watch": "grunt watch" } } -- cgit v1.2.3-54-g00ecf