summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/package.json
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-16 15:39:32 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-16 15:39:32 +0200
commitc01325688158fdde886e2ecb347d8d4d9707a84d (patch)
treee2660866f35a8c3b860e4221532d8ecf68acd0fd /searx/static/themes/simple/package.json
parent85033f3d097c6ae796e8ddadf469a4db78b76fca (diff)
downloadsearxng-c01325688158fdde886e2ecb347d8d4d9707a84d.tar.gz
searxng-c01325688158fdde886e2ecb347d8d4d9707a84d.zip
[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.
Diffstat (limited to 'searx/static/themes/simple/package.json')
-rw-r--r--searx/static/themes/simple/package.json6
1 files changed, 3 insertions, 3 deletions
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"
}
}