[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.
This commit is contained in:
Alexandre Flament 2021-06-16 15:39:32 +02:00
parent 85033f3d09
commit c013256881
2 changed files with 12 additions and 30 deletions

View file

@ -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"
}
}